/** * Sets the resources requirement for the Spark client process. */ protected final void setClientResources(Resources resources) { configurer.setClientResources(resources); }
/** * Sets the resources requirement for the Spark executor processes. */ protected final void setExecutorResources(Resources resources) { configurer.setExecutorResources(resources); }
/** * Sets the name of the {@link Spark}. */ protected final void setName(String name) { configurer.setName(name); }
/** * Sets the description of the {@link Spark}. */ protected final void setDescription(String description) { configurer.setDescription(description); }
/** * Sets the Spark job main class name in specification. The main method of this class will be called to run the * Spark job * * @param mainClassName the fully qualified name of class containing the main method */ protected final void setMainClassName(String mainClassName) { configurer.setMainClassName(mainClassName); }
/** * Sets a set of properties that will be available through the {@link SparkSpecification#getProperties()} * at runtime. * * @param properties the properties to set */ protected final void setProperties(Map<String, String> properties) { configurer.setProperties(properties); }
/** * Sets the resources requirement for the Spark driver process. */ protected final void setDriverResources(Resources resources) { configurer.setDriverResources(resources); }