-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21642/
-----------------------------------------------------------

Review request for hive, Hari Sankar Sivarama Subramaniyan, Harish Butani, 
Thejas Nair, and Vaibhav Gumashta.


Repository: hive


Description
-------

Corresponding to JIRA HIVE-5764(https://issues.apache.org/jira/browse/HIVE-5764)

This patch is to support stopping service by command line. So far only 
hiveserver2 and metastore are supported, but maintains back compatibility to 
other services.

bin/hive --service hiveserver2 --stop
bin/hive --service metastore --stop

Only one instance of hiveserver2 or metastore is allowed to be launched in 
individual node, but many instances allowed before applying this patch.


Diffs
-----


Diff: https://reviews.apache.org/r/21642/diff/


Testing
-------

bin/hive --service hiveserver2
bin/hive --service hiveserver2
bin/hive --service hiveserver2 --stop
bin/hive --service hiveserver2 --stop
bin/hive --service hiveserver2
bin/hive --service hiveserver2 --stop
bin/hive --service hiveserver2 --help
bin/hive --service hiveserver2 -H


bin/hive --service metastore
bin/hive --service metastore
bin/hive --service metastore --stop
bin/hive --service metastore --stop
bin/hive --service metastore
bin/hive --service metastore --stop
bin/hive --service metastore --help
bin/hive --service metastore -h


Thanks,

XIAOBING ZHOU

Reply via email to