----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21642/ -----------------------------------------------------------
(Updated May 19, 2014, 10:19 p.m.) 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 (updated) ----- http://svn.apache.org/repos/asf/hive/trunk/bin/ext/hiveserver2.sh 1596074 http://svn.apache.org/repos/asf/hive/trunk/bin/ext/metastore.sh 1596074 http://svn.apache.org/repos/asf/hive/trunk/bin/hive 1596074 http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java 1596074 http://svn.apache.org/repos/asf/hive/trunk/service/src/java/org/apache/hive/service/server/ServerOptionsProcessor.java 1596074 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 File Attachments ---------------- DIFF FILE https://reviews.apache.org/media/uploaded/files/2014/05/19/a23cb744-2051-4b2b-ba32-5eb71d1f9c65__HIVE-5764.patch Thanks, XIAOBING ZHOU