hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Subramanian <Sanjay.Subraman...@wizecommerce.com>
Subject Re: Unable to stop Thrift Server
Date Mon, 20 May 2013 21:11:04 GMT
Which version r u using ?

I think from 0.9+ onwards its best to use service to stop and start and NOT hive

sudo service hive-metastore stop
sudo service hive-server stop

sudo service hive-metastore start
sudo service hive-server start

Couple of general things that might help

1. Use linux screens : then u can start many screen sessions and u don't have to give the
synch mode "&" of execution
     Its very easy to manage several screen sessions and they keep running till your server
restartsā€¦.and generally u can ssh to some jumhost and create your screen sessions there

2. Run the following
     pstree -pulac | less
     U can possible search for hive or your username or root which was used to start the serviceā€¦and
kill the process


From: Raj Hadoop <hadoopraj@yahoo.com<mailto:hadoopraj@yahoo.com>>
Reply-To: "user@hive.apache.org<mailto:user@hive.apache.org>" <user@hive.apache.org<mailto:user@hive.apache.org>>,
Raj Hadoop <hadoopraj@yahoo.com<mailto:hadoopraj@yahoo.com>>
Date: Monday, May 20, 2013 2:03 PM
To: Hive <user@hive.apache.org<mailto:user@hive.apache.org>>, User <user@hadoop.apache.org<mailto:user@hadoop.apache.org>>
Subject: Unable to stop Thrift Server


I was not able to stopThrift Server after performing the following steps.

$ bin/hive --service hiveserver &
Starting Hive Thrift Server

$ netstat -nl | grep 10000
tcp 0 0 :::10000 :::* LISTEN

I gave the following to stop. but not working.

hive --service hiveserver --action stop 10000

How can I stop this service?


This email message and any attachments are for the exclusive use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient, please contact the sender
by reply email and destroy all copies of the original message along with any attachments,
from your computer system. If you are the intended recipient, please be advised that the content
of this message is subject to access, review and disclosure by the sender's Email System Administrator.

View raw message