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)
Servicepublic Configuration getHadoopConf()
ServicegetHadoopConf in interface Servicepublic void start()
throws IOException
Servicestart in interface ServiceIOExceptionpublic void stop()
throws IOException
Servicestop in interface ServiceIOExceptionpublic List<Class<? extends Service>> dependencies()
Servicedependencies in interface Servicepublic org.apache.thrift.server.TServer startMetaStore(String forceBindIP, int port, org.apache.hadoop.hive.conf.HiveConf conf) throws IOException
IOExceptionCopyright © 2013–2015. All rights reserved.