org.apache.hive.service.server
Class HiveServer2
java.lang.Object
org.apache.hive.service.AbstractService
org.apache.hive.service.CompositeService
org.apache.hive.service.server.HiveServer2
- All Implemented Interfaces:
- Service
public class HiveServer2
- extends CompositeService
HiveServer2.
Method Summary |
void |
init(HiveConf hiveConf)
Initialize the service. |
static void |
main(String[] args)
|
void |
start()
Start the service. |
void |
stop()
Stop the service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHUTDOWN_HOOK_PRIORITY
public static final int SHUTDOWN_HOOK_PRIORITY
- See Also:
- Constant Field Values
HiveServer2
public HiveServer2()
init
public void init(HiveConf hiveConf)
- Description copied from class:
AbstractService
- Initialize the service.
The transition must be from
Service.STATE.NOTINITED
to Service.STATE.INITED
unless the
operation failed and an exception was raised.
- Specified by:
init
in interface Service
- Overrides:
init
in class CompositeService
start
public void start()
- Description copied from class:
AbstractService
- Start the service.
The transition should be from
Service.STATE.INITED
to Service.STATE.STARTED
unless the
operation failed and an exception was raised.
- Specified by:
start
in interface Service
- Overrides:
start
in class CompositeService
stop
public void stop()
- Description copied from class:
AbstractService
- Stop the service.
This operation must be designed to complete regardless of the initial state
of the service, including the state of all its internal fields.
- Specified by:
stop
in interface Service
- Overrides:
stop
in class CompositeService
main
public static void main(String[] args)
- Parameters:
args
-
Copyright © 2013 The Apache Software Foundation