public class HiveServer2 extends CompositeService
CompositeService.CompositeServiceShutdownHookService.STATE| Constructor and Description |
|---|
HiveServer2() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(HiveConf hiveConf)
Initialize the service.
|
static boolean |
isHTTPTransportMode(HiveConf hiveConf) |
boolean |
isRegisteredWithZooKeeper() |
static void |
main(String[] args) |
void |
start()
Start the service.
|
void |
stop()
Stop the service.
|
addService, getServices, removeServicegetHiveConf, getName, getServiceState, getStartTime, register, unregisterpublic 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 static boolean isHTTPTransportMode(HiveConf hiveConf)
public boolean isRegisteredWithZooKeeper()
public 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(String[] args)
Copyright © 2017 The Apache Software Foundation. All rights reserved.