public class HiveServer2 extends CompositeService
CompositeService.CompositeServiceShutdownHookService.STATE| Modifier and Type | Field and Description |
|---|---|
static int |
SHUTDOWN_HOOK_PRIORITY |
| Constructor and Description |
|---|
HiveServer2() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(HiveConf hiveConf)
Initialize the service.
|
static void |
main(java.lang.String[] args) |
void |
start()
Start the service.
|
void |
stop()
Stop the service.
|
addService, getServices, removeServicegetHiveConf, getName, getServiceState, getStartTime, register, unregisterpublic static final int SHUTDOWN_HOOK_PRIORITY
public void init(HiveConf hiveConf)
AbstractServiceService.STATE.NOTINITED to Service.STATE.INITED unless the
operation failed and an exception was raised.init in interface Serviceinit in class CompositeServicepublic void start()
AbstractServiceService.STATE.INITED to Service.STATE.STARTED unless the
operation failed and an exception was raised.start in interface Servicestart in class CompositeServicepublic void stop()
AbstractServicestop in interface Servicestop in class CompositeServicepublic static void main(java.lang.String[] args)
args - Copyright © 2012 The Apache Software Foundation