public class SparkConfigurationService extends Object implements Service
| Modifier and Type | Field and Description |
|---|---|
static String |
SPARK_CONFIGURATION |
CONF_PREFIX, DEFAULT_LOCK_TIMEOUT, lockTimeout| Constructor and Description |
|---|
SparkConfigurationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the service.
|
Class<? extends Service> |
getInterface()
Return the public interface of the service.
|
Map<String,String> |
getSparkConfig(String resourceManagerHostPort) |
void |
init(Services services)
Initialize the service.
|
public static final String SPARK_CONFIGURATION
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 Class<? extends Service> getInterface()
ServicegetInterface in interface Servicepublic Map<String,String> getSparkConfig(String resourceManagerHostPort)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.