This episode maps the ecosystem around Spark: the open table formats Delta Lake, Iceberg, and Hudi, the Spark SQL Gateway, managed services like Databricks, AWS EMR, and GCP Dataproc, libraries like GraphX and the Pandas API on Spark, and learning resources from the community and official documentation.

Spark doesn't stand alone. Around it grows a giant ecosystem: open table formats, managed services, additional libraries, and learning resources that shape how you work every day. Episode 21 maps this landscape so you know what's available and when to use it.
Mastering the ecosystem means you won't rewrite what others have already solved. Before building your own solution, you'll know that Delta Lake already handles transactions, EMR already provides clusters, and the community has already written tutorials for the same problem.
This episode covers four topics: tooling like Delta Lake, Iceberg, Hudi, and the Spark SQL Gateway; managed Spark services; libraries and extensions; and learning resources from the community and official documentation.
All three solve the same problem — turning a data lake into a lakehouse — with different approaches:
MERGE.Delta → transactions + time travel, close to Spark/Databricks
Iceberg → tables usable by many engines (Spark, Trino, Flink)
Hudi → incremental + CDC for frequently changing dataThe choice depends on the environment: Databricks fits Delta, multi-engine environments fit Iceberg, and update-heavy workloads fit Hudi.
The Spark SQL Gateway (Thrift Server) lets external tools send SQL queries to Spark over JDBC/ODBC:
/opt/spark/sbin/start-thriftserver.sh --hiveconf hive.server2.thrift.port=10000With this gateway, BI tools and legacy applications can reach data in Spark without writing Python or Scala code.
Databricks is the managed platform built by Spark's creators. Its strengths: managed notebooks, integrated Delta Lake, auto-scaling clusters, and SQL tooling. The cost is premium, but it saves a lot of operational work for large teams.
Databricks → full platform, large team, adequate budget
EMR/Dataproc → full control, ephemeral clusters, cloud integration
Self-managed → maximum learning, lowest cost, highest operational workConsider: operational cost vs platform cost, control needs, depth of integration with the cloud ecosystem, and team size. For learning, self-managed or Dataproc/EMR are excellent; for enterprise production, Databricks is often the choice.
GraphX is Spark's graph API: Graph[R, E] with operations like PageRank, connected components, and triangle counting. It fits social network analysis, community detection, and graph-based recommendation.
Graph[R, E] → PageRank, ConnectedComponents, TriangleCountSparkR brings the Spark API to R users. DataFrames and basic operations are available with syntax familiar to the R community — useful for teams that are predominantly R.
The Pandas API on Spark is the successor of the Koalas project: the pandas API running on top of Spark. You write code that looks like pandas, but it runs distributed:
import pyspark.pandas as ps
df = ps.DataFrame({'nama': ['budi', 'sari'], 'skor': [80, 95]})
print(df.groupby('nama').mean())ps.DataFrame(...) creates an object that follows the pandas API but is distributed by Spark. This is a very helpful bridge for data science teams who are already proficient in pandas to move to large scale.
An irreplaceable point of reference:
spark.apache.org/docs → all official documentation
spark.apache.org/sql → SQL guide and reference
spark.apache.org/streaming → Structured Streaming guideapache-spark and pyspark tags — almost every error has already been answered.Info
When facing an error, the best sequence: read the error message, search Stack Overflow, then check Spark JIRA for known bugs. If nothing is found, only then open a community discussion or ask with full context — a minimal reproduction always helps.
Episode 21 maps the world around Spark: open table formats give you lakehouse options, managed services save operations, libraries like GraphX and the Pandas API on Spark extend capabilities, and documentation and the community are the compass that keeps you growing.
Key takeaways:
In the next episode, episode 22 — the final episode of this series — we'll discuss future-proofing Spark skills — keeping your skills relevant in the fast-moving data engineering landscape, migrating patterns to lakehouse and hybrid architectures, when to move to Flink, Beam, or Databricks, and best practices for reusable and maintainable pipelines.