gcp-spark

Coordinate Spark workloads on Google Cloud Dataproc and Serverless.

161|37|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack --skill gcp-spark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-spark
Source: https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack/tree/main/skills/gcp-spark
Command: npx skills add https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack --skill gcp-spark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Coordinate Spark workloads on Google Cloud Dataproc and Serverless, enabling data engineers to deploy and manage scalable Spark jobs with reliable workflows.

Core Features & Use Cases

  • Spark job orchestration on Dataproc Clusters and Serverless environments
  • Read and write data using BigLake Iceberg catalogs, BigQuery and Spanner
  • Debug and optimize Spark executions across pipelines, ML training/inference, and interactive sessions

Quick Start

Open a Spark notebook and run the workflow to read data from BigQuery, process with Spark on Dataproc, and write results to Iceberg.

Frequently Asked Questions about gcp-spark

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Spark ETL pipelines on Google Cloud Dataproc?

Run Spark ETL pipelines on Google Cloud Dataproc by orchestrating jobs that read data from BigQuery, process it with Spark, and write results to BigLake Iceberg catalogs. The workflow validates schemas before write to ensure reliable data pipelines.

Can I use Spark with BigLake Iceberg catalogs and Spanner on GCP?

Yes, you can use Spark with BigLake Iceberg catalogs and Spanner on GCP. The environment allows you to read and write data directly using these sources for data access within your Dataproc Spark workloads.

What is the best way to manage interactive Spark sessions on Dataproc Serverless?

Manage interactive Spark sessions on Dataproc Serverless by coordinating workloads through an enforced Task Execution Workflow. This approach enables data engineers to deploy and debug scalable Spark jobs with reliable execution.

Does this workflow support training machine learning models with Spark on GCP?

Yes, this workflow supports training machine learning models with Spark on GCP. You can coordinate Spark-based ML model training and run inference directly within Dataproc Clusters and Serverless environments.

How do I validate schemas before writing data to Iceberg tables in Spark?

Validate schemas before writing data to Iceberg tables in Spark by leveraging the enforced Task Execution Workflow. This mechanism checks data structures prior to write operations to prevent pipeline failures.

Why does my Spark job fail when writing to BigQuery on Dataproc?

Spark jobs writing to BigQuery on Dataproc may fail if the schema validation step within the Task Execution Workflow detects a mismatch. Ensure your input data structure matches the target BigQuery table schema before execution.