ai-agent

learning-spark

Example code from Learning Spark book
3,895 stars+3★ this week2,389 forksJavaUpdated 6/30/2026100% free · open source
What it does

Learning Spark provides example code from the Learning Spark book to help developers learn Apache Spark using Java

When to use it
  • •Building data processing pipelines with Apache Spark
  • •Developing machine learning models with Spark MLlib
  • •Integrating Spark with other big data tools like Hadoop and Kafka
Ready-to-paste prompt
spark-submit --class com.databricks.sparkpi.SparkPi target/learning-spark-1.0.jar 100
Heads up: Make sure you have Apache Spark installed and configured on your system, and that the SPARK_HOME environment variable is set correctly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/learning-spark && curl -fsSL https://workflowstacks.com/api/skills/learning-spark/claude-skill -o ~/.claude/skills/learning-spark/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How learning-spark works
Codeflow
Free to inspect

Learning-spark is a medium Java project (~4.6k lines across 111 code files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit 3 months ago, MIT license, no tests found.

Size
Medium codebase
~4.6k lines · 111 code files · 39 min skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Java/JVM
No API keys detected
Java 49%Scala 31%Python 12%Shell 6%Protocol Buffer 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    bin/datagen.cmd
    Where the program starts running
  3. 3
    src/perl/splitwords.pl
    Inside src/ — the main logic begins here
What's in each folder
src/Core code — the actual logic107 files
bin/Command-line entry points3 files
files/Folder15 files
project/Folder1 files
sbt/Folder1 files
READMENo tests foundDocumentedCI checksMIT licenseUpdated 3 mo ago
Quick Actions
Details
Creator
databricks
Language
Java
Category
ai-agent
Published
6/16/2014

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/learning-spark.svg)](https://workflowstacks.com/skills/learning-spark?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.