Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Spark Jobserver
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yegor Andreenko
October 20, 2016
Technology
120
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Spark Jobserver
Spark Jobserver and why you should use it
Yegor Andreenko
October 20, 2016
More Decks by Yegor Andreenko
See All by Yegor Andreenko
ClickHouse: Intro & Scalability
f1yegor
0
35
ClickHouse exporter
f1yegor
0
450
ClickHouse Intro
f1yegor
0
220
Other Decks in Technology
See All in Technology
[JAWS-UG彩の国埼玉#12]そろそろ準備する?re:Invent2026をやさしく解説 / reinvent2026-sainokuni
sh_fk2
1
340
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
880
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
夫婦で子育てするための育児標準化
codmoninc
PRO
0
350
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
130
Getting Started with Google Antigravity
glaforge
0
310
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
120
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
620
go-sqletch
moznion
0
140
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
Featured
See All Featured
Paper Plane
katiecoart
PRO
5
54k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
Visualization
eitanlees
153
17k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
GitHub's CSS Performance
jonrohan
1033
470k
How to Ace a Technical Interview
jacobian
280
24k
First, design no harm
axbom
PRO
2
1.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
How to make the Groovebox
asonas
2
2.5k
Transcript
None
None
None
None
curl --data-binary @my-spark-job-allinone.jar jobserver:8090/jars/demo curl -d "" jobserver:8090/contexts/agg?num-cpu-cores=2&memory-per-node=2048m curl -d
"input.string = A lazy dog jumped mean dog" \ 'jobserver:8090/jobs?appName=demo&context=agg&classPath=spark.jobserver.WordCountExample' { "status": "STARTED", "result": { "jobId": "a3e0e19d-f10f-4b78-9eb3-e65d63853a74", "context": "agg" } }
object WordCountExample extends SparkJob { override def validate(sc: SparkContext, config:
Config): SparkJobValidation = { Try(config.getString(“input.string”)) .map(x => SparkJobValid) .getOrElse(SparkJobInvalid(“No input.string”)) } override def runJob(sc: SparkContext, config: Config): Any = { val dd = sc.parallelize(config.getString(“input.string”).split(" ").toSeq) dd.map((_, 1)).reduceByKey(_ + _).collect().toMap } }
this.namedRdds.update("french_dictionary", frenchDictionaryRDD) val rdd = this.namedRdds.get[(String, String)]("french_dictionary").get val NamedRDD(frenchDictionaryRDD, _
,_) = namedObjects.get[NamedRDD[(String, String)]]("rdd:french_dictionary").get val NamedDataFrame(frenchDictionaryDF, _, _) = namedObjects.get[NamedDataFrame]("df:some df").get
None
None