You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by XIAOBING ZHOU <xz...@gmail.com> on 2014/05/19 20:04:01 UTC

Review Request 21642: HIVE-5764: Stopping Metastore and HiveServer2 from command line

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


Re: Review Request 21642: HIVE-5764: Stopping Metastore and HiveServer2 from command line

Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21642/
-----------------------------------------------------------

(Updated May 19, 2014, 10:56 p.m.)


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


Bugs: HIVE-5764
    https://issues.apache.org/jira/browse/HIVE-5764


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

  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


Re: Review Request 21642: HIVE-5764: Stopping Metastore and HiveServer2 from command line

Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
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


Re: Review Request 21642: HIVE-5764: Stopping Metastore and HiveServer2 from command line

Posted by XIAOBING ZHOU <xz...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/21642/
-----------------------------------------------------------

(Updated May 19, 2014, 6:12 p.m.)


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


Changes
-------

upload patch diff file


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


File Attachments (updated)
----------------

DIFF FILE
  https://reviews.apache.org/media/uploaded/files/2014/05/19/a23cb744-2051-4b2b-ba32-5eb71d1f9c65__HIVE-5764.patch


Thanks,

XIAOBING ZHOU