public class SparkConfigurationService extends java.lang.Object implements Service
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONF_PREFIX |
static java.lang.String |
SPARK_CONFIGURATIONS |
static java.lang.String |
SPARK_CONFIGURATIONS_BLACKLIST |
static java.lang.String |
SPARK_CONFIGURATIONS_IGNORE_SPARK_YARN_JAR |
DEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description |
|---|
SparkConfigurationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the service.
|
java.lang.Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
java.util.Properties |
getSparkConfig(java.lang.String resourceManagerHostPort) |
void |
init(Services services)
Initialize the service.
|
public static final java.lang.String CONF_PREFIX
public static final java.lang.String SPARK_CONFIGURATIONS
public static final java.lang.String SPARK_CONFIGURATIONS_IGNORE_SPARK_YARN_JAR
public static final java.lang.String SPARK_CONFIGURATIONS_BLACKLIST
public SparkConfigurationService()
public void init(Services services) throws ServiceException
ServiceService singleton at start up time.init in interface Serviceservices - services singleton initializing the service.ServiceException - thrown if the service could not initialize.public void destroy()
ServiceService singleton at shutdown time.public java.lang.Class<? extends Service> getInterface()
ServicegetInterface in interface Servicepublic java.util.Properties getSparkConfig(java.lang.String resourceManagerHostPort)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.