spark.jobserver
This class starts and stops JobManagers / Contexts in-process. It is responsible for watching out for the death of contexts/JobManagers.
Contexts can be configured to be created automatically at job server initialization. Configuration example:
spark { contexts { olap-demo { num-cpu-cores = 4 # Number of cores to allocate. Required. memory-per-node = 1024m # Executor memory per node, -Xmx style eg 512m, 1G, etc. } } }
spark { jobserver { context-creation-timeout = 15 s yarn-context-creation-timeout = 40 s } # Default settings for all context creation context-settings { spark.mesos.coarse = true } }
This class starts and stops JobManagers / Contexts in-process. It is responsible for watching out for the death of contexts/JobManagers.
Auto context start configuration
Contexts can be configured to be created automatically at job server initialization. Configuration example:
Other configuration