hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "XIAOBING ZHOU" <xzho...@gmail.com>
Subject Review Request 21642: HIVE-5764: Stopping Metastore and HiveServer2 from command line
Date Mon, 19 May 2014 18:04:01 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message