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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
パッチ更新でterraform initが落ちた日
grimoh
1
140
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
270
Getting Started with Google Antigravity
glaforge
0
310
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
300
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
950
Kiro Crewをはじめよう
kizawa2020
1
160
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
170
Rust で関数型ドメインモデリング
takonda
0
140
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
640
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
The untapped power of vector embeddings
frankvandijk
2
1.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Raft: Consensus for Rubyists
vanstee
142
7.8k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
Everyday Curiosity
cassininazir
0
350
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
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