Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ondemand on flintrock and revert spark.executor.memory #183

Open
wants to merge 2 commits into
base: mail-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/scala/ignition/core/jobs/CoreJobRunner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ object CoreJobRunner {


val builder = SparkSession.builder
builder.config("spark.executor.memory", config.executorMemory)
builder.config("spark.eventLog.dir", "file:///media/tmp/spark-events")

builder.master(config.master)
builder.appName(appName)

builder.config("spark.hadoop.mapred.output.committer.class", classOf[DirectOutputCommitter].getName())
Expand Down
2 changes: 0 additions & 2 deletions tools/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ def launch(cluster_name, slaves,

assert not master_instance_type or master_instance_type == instance_type, 'Different master instance type is currently unsupported'
assert not master_ami or master_ami == ami, 'Different master ami is currently unsupported'
assert not ondemand, 'On demand is unsupported'
assert master_spot, 'On demand master is currently unsupported'

all_args = locals()

Expand Down