Service.ServiceConfig
Constructor and Description |
---|
HiveService() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Service.ServiceConfig serviceConfig)
Configure this service with the ServiceConfig
|
List<Class<? extends Service>> |
dependencies()
Get the other Service implementations this Service has as a dependency.
|
Configuration |
getHadoopConf()
Get the Hadoop configuration object for this service.
|
void |
start()
Start the service.
|
org.apache.thrift.server.TServer |
startMetaStore(String forceBindIP,
int port,
org.apache.hadoop.hive.conf.HiveConf conf) |
void |
stop()
Stop the service.
|
public void configure(Service.ServiceConfig serviceConfig)
Service
public Configuration getHadoopConf()
Service
getHadoopConf
in interface Service
public void start() throws IOException
Service
start
in interface Service
IOException
public void stop() throws IOException
Service
stop
in interface Service
IOException
public List<Class<? extends Service>> dependencies()
Service
dependencies
in interface Service
public org.apache.thrift.server.TServer startMetaStore(String forceBindIP, int port, org.apache.hadoop.hive.conf.HiveConf conf) throws IOException
IOException
Copyright © 2013–2014. All rights reserved.