Engine Configuration Settings : Overriding Job Settings
 
Share this page                  
Overriding Job Settings
Engine configuration may also be used to override JVM settings for jobs running in the cluster. For example, to set the the JVM memory to 1G:
ClusterSpecifier clusterspec= ClusterSpecifier.create().host("myhost").port(1099);
clusterspec=clusterspec.option("job.executor.jvm.memory","1G");

EngineConfig cfg=...;
cfg= cfg.cluster(clusterspec)
A complete list of available job settings is in Job Settings.