Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A13F0D02E for ; Mon, 20 May 2013 21:30:20 +0000 (UTC) Received: (qmail 29890 invoked by uid 500); 20 May 2013 21:30:19 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 29842 invoked by uid 500); 20 May 2013 21:30:19 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 29831 invoked by uid 99); 20 May 2013 21:30:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 May 2013 21:30:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.139.212.172] (HELO nm13.bullet.mail.bf1.yahoo.com) (98.139.212.172) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 20 May 2013 21:30:11 +0000 Received: from [98.139.212.144] by nm13.bullet.mail.bf1.yahoo.com with NNFMP; 20 May 2013 21:29:50 -0000 Received: from [98.139.212.241] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 20 May 2013 21:29:50 -0000 Received: from [127.0.0.1] by omp1050.mail.bf1.yahoo.com with NNFMP; 20 May 2013 21:29:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 130429.27119.bm@omp1050.mail.bf1.yahoo.com Received: (qmail 18545 invoked by uid 60001); 20 May 2013 21:29:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369085389; bh=b6zM1keg4eddvpZoqfhg3h4xNXdztAGRG/exCdkTIaM=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=0DEzjiHyGa49QbDrUewH9MZ2WIs8fuIYgkHnwwZybNBzTY9J6sJnTqItDgKMq0hIbKIgdlTHvmUPOWhcWtAVEOpoAL6psAX9J+OdIwKQhuocC91hmh7DBvf4qD821ss1J5uNxVCxY1v7XmVKtbnJ1GhXw72Pi4JC4nWiXAaIQ5s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=AWijfIqzPYxhDgOJx8YiOIse4UlfKCve1B9rc0JhRaAq8yt1NzrtmFGdQvPcxPdeNo+nuVvDulH4KY7RYfDOaHg1jcDaSNZA1LgKw7xIo9ruZKa7MeZyo3F1NJhVyjXTjYbbucsCsja1Mj4aDa/N+yGAcTLj6CR8Jp33anNumL4=; X-YMail-OSG: 4dOw0c0VM1maQn_7zMZlVwWFo.CVfak17tVGlM3vgcrxmHQ GLnVkFT3h8quOq3sVD8N3gGRao7aiYib2k8IL0.xeVaud2cS2M3s9YKv96ew NCVvMLmBLuwo9Jo5Wu7b1cDbspyfDm54sRqCw768DEX4EHEH0OQ7Na8CE_4r Ge62DeCrKVG3GbjcTS8uD5zutU9GPHTr8GGsvnhq9tt_FD0n48Wim9U82kuu 9tn6CriMbIzjrz.5ags0J2VhjQWC92VZLgZiMCdQvi6wbrbT4ZNth4BrVyuz 6fCUAk_gccZwLMsdHqZBKDbmHwyyMnT48JitFHK.LRFbPvHSntVtkwooYqko j9c0WoVGtDNgkfMA8Azo3nD8fJu1U_3ClYLiH1p31h2TJVtaOm8TyQa9czRn MIxGGHMXkyCN7TNO0ajfL8WOOaPnk14T84thP5XkdS3VxtdmEUIWfl3..CJW XQkqfN0ZpQlJsI2NIaL5KFbZhr_U- Received: from [71.196.53.15] by web162201.mail.bf1.yahoo.com via HTTP; Mon, 20 May 2013 14:29:49 PDT X-Rocket-MIMEInfo: 002.001,CgpIaSwKCkkgaGFkIHRvIGRvIGEga2lsbCAtOS4gSSBhbSB2ZXJ5IHN1cnByaXNlZCBldmVuICdQcm9ncmFtbWluZyBIaXZlJyBib29rIGhhcyBub3QgZ2l2ZW4gZGV0YWlscyBvbiBob3cgdG8gc3RvcCB0aGUgdGhyaWZ0IHNlcnZpY2UuIEl0IGp1c3QgbWV0aW9uZWQgb24gaG93IHRvIHN0YXJ0LgoKClRoYW5rcywKUmFqCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCiBGcm9tOiBKaWUgWmhvdSAo5ZGo5p2wKSA8amllX3pob3VAYWxseWVzLmNvbT4KVG86ICJ1c2VyQGhhZG9vcC5hcGFjaGUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.142.542 References: <1369083785.6527.YahooMailNeo@web162204.mail.bf1.yahoo.com> ,<1369084620.2110.YahooMailNeo@web162201.mail.bf1.yahoo.com> <7BC3B15B14AA644B9EA71A92F6F75ED64F985C6C@ALLYES-EXCH01.allyes.group> Message-ID: <1369085389.17771.YahooMailNeo@web162201.mail.bf1.yahoo.com> Date: Mon, 20 May 2013 14:29:49 -0700 (PDT) From: Raj Hadoop Reply-To: Raj Hadoop Subject: =?utf-8?B?UmU6IOetlOWkjTogVW5hYmxlIHRvIHN0b3AgVGhyaWZ0IFNlcnZlcg==?= To: =?utf-8?B?SmllIFpob3UgKOWRqOadsCk=?= , "user@hadoop.apache.org" , Sanjay Subramanian , "user@hive.apache.org" In-Reply-To: <7BC3B15B14AA644B9EA71A92F6F75ED64F985C6C@ALLYES-EXCH01.allyes.group> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1252958027-176234906-1369085389=:17771" X-Virus-Checked: Checked by ClamAV on apache.org ---1252958027-176234906-1369085389=:17771 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =0A=0AHi,=0A=0AI had to do a kill -9. I am very surprised even 'Programming= Hive' book has not given details on how to stop the thrift service. It jus= t metioned on how to start.=0A=0A=0AThanks,=0ARaj=0A=0A=0A=0A______________= __________________=0A From: Jie Zhou (=E5=91=A8=E6=9D=B0) =0ATo: "user@hadoop.apache.org" ; Raj Hadoop ; Sanjay Subramanian ; "user@hive.apache.org" =0ASent: Monday, May 20, = 2013 5:23 PM=0ASubject: =E7=AD=94=E5=A4=8D: Unable to stop Thrift Server=0A= =0A=0A=0A =0AThe direct solution is that first find the pid of hive servic= e and then just kill =C2=A0it. =0Anetstat -anp |grep 10000=0A=C2=A0 =0Akill= -9 pid=0A=0A=0A________________________________=0A =0A=E5=8F=91=E4=BB=B6= =E4=BA=BA: Raj Hadoop [hadoopraj@yahoo.com]=0A=E5=8F=91=E9=80=81=E6=97=B6= =E9=97=B4: 2013=E5=B9=B45=E6=9C=8821=E6=97=A5 5:17=0A=E6=94=B6=E4=BB=B6=E4= =BA=BA: Sanjay Subramanian; user@hive.apache.org; User=0A=E4=B8=BB=E9=A2=98= : Re: Unable to stop Thrift Server=0A=0A=0AHi Sanjay,=0A=0AI am using 0.9 v= ersion.=0AI do not have a sudo access. is there any other command to stop t= he service.=0A=0Athanks,=0Araj=0A=0A=0A=0A=0A______________________________= __=0A From: Sanjay Subramanian =0ATo: = "user@hive.apache.org" ; Raj Hadoop ; User =0ASent: Monday, May 20, 2013 5:11 PM= =0ASubject: Re: Unable to stop Thrift Server=0A=0A=0A=0ARaj=0AWhich version= r u using ?=0A=0AI think from 0.9+ onwards its best to use service to stop= and start and NOT hive=C2=A0=0A=0Asudo service hive-metastore stop=0Asudo = service hive-server stop=0A=0Asudo service hive-metastore start=0Asudo serv= ice hive-server start=0A=0ACouple of general things that might help=C2=A0= =0A=0A1. Use linux screens : then u can start many screen sessions and u do= n't have to give the synch mode "&" of execution=C2=A0=0A=C2=A0 =C2=A0 =C2= =A0Its very easy to manage several screen sessions and they keep running ti= ll your server restarts=E2=80=A6.and generally u can ssh to some jumhost an= d create your screen sessions there =C2=A0=0A=0A2. Run the following=C2=A0= =0A=C2=A0 =C2=A0 =C2=A0pstree -pulac | less=0A=C2=A0 =C2=A0 =C2=A0U can pos= sible search for hive or your username or root which was used to start the = service=E2=80=A6and kill the process=0A=0Asanjay=C2=A0=0AFrom: Raj Hadoop <= hadoopraj@yahoo.com>=0AReply-To: "user@hive.apache.org" , Raj Hadoop =0ADate: Monday, May 20, 2013 2:03 PM= =0ATo: Hive , User =0ASubject= : Unable to stop Thrift Server=0A=0A=0AHi,=0A=0AI was not able to stopThrif= t Server after performing the following steps.=0A=0A=0A$ bin/hive --service= hiveserver &=0AStarting Hive Thrift Server=0A=0A$ netstat -nl | grep 10000= =0Atcp 0 0 :::10000 :::* LISTEN=0A=0A=0AI gave the following to stop. but n= ot working.=0A=0A=0Ahive --service hiveserver --action stop 10000=0A=0AHow = can I stop this service?=0A=0A=0AThanks,=0ARaj=0A=0A=0ACONFIDENTIALITY NOTI= CE=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0AT= his email message and any attachments are for the exclusive use of the inte= nded 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,=0A please contact the sender by reply e= mail and destroy all copies of the original message along with any attachme= nts, from your computer system. If you are the intended recipient, please b= e advised that the content of this message is subject to access, review=0A = and disclosure by the sender's Email System Administrator. ---1252958027-176234906-1369085389=:17771 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

I = had to do a kill -9. I am very surprised even 'Programming Hive' book has n= ot given details on how to stop the thrift service. It just metioned on how= to start.

Thanks= ,
Raj


= From: Jie Zhou (=E5=91=A8= =E6=9D=B0) <jie_zhou@allyes.com>
To: "user@hadoop.apache.org" <user@hadoop.apache.org>= ;; Raj Hadoop <hadoopraj@yahoo.com>; Sanjay Subramanian <Sanjay.Subramanian@wizecommerce.com>; "user@hive.apache.org" <us= er@hive.apache.org>
Sent: Monday, May 20, 2013 5:23 PM
Subject: =E7=AD=94=E5=A4=8D: Unable to stop Thrift Server

=0A=0A =0A=0A=0A
=0A
The direct s= olution is that first find the pid of hive service and then just kill  = ;it.=0A
netstat -anp |grep 10000
=0A
 =0A
kill -9 pid=
=0A
=0A
=0A
= =E5=8F=91=E4=BB=B6=E4=BA=BA: Raj Hadoop [hadoopraj@yahoo.com]
=0A= =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2013=E5=B9=B45=E6=9C=8821=E6=97= =A5 5:17
=0A=E6=94=B6=E4=BB=B6=E4=BA=BA: Sanjay Subramanian; user= @hive.apache.org; User
=0A=E4=B8=BB=E9=A2=98: Re: Unable to stop = Thrift Server
=0A

=0A
=0A
=0A
=0A
=0AHi Sanjay,
=0A
=0AI am using 0.9 ve= rsion.
=0AI do not have a sudo access. is there any other command to sto= p the service.
=0A
=0Athanks,
=0Araj
=0A

=0A
=0A

=0A
=0A
=0A
=0A
=0A<= hr size=3D"1">=0AFrom: Sanjay Subramanian <Sanjay.Subramanian@wizec= ommerce.com>
=0ATo: "= user@hive.apache.org" <user@hive.apache.org>; Raj Hadoop <hadoopra= j@yahoo.com>; User <user@hadoop.apache.org>=0A
=0ASent: Monday, May 20, 2013 5:11 PM
= =0ASubject: Re: Unable to s= top Thrift Server
=0A
=0A

=0A
=0A
=0A
Raj
=0A
= Which version r u using ?
=0A

=0A
=0A
I think from 0.= 9+ onwards its best to use service to stop and start and NOT hive =0A

=0A
=0A
sudo service hive-metastore stop
=0Asudo service hive-server stop
=0A

=0A
=0A
=0A
s= udo service hive-metastore start
=0A
sudo service hive-server star= t
=0A
=0A

=0A
=0A
Couple of general things that = might help 
=0A

=0A
=0A
1. Use linux screens : t= hen u can start many screen sessions and u don't have to give the synch mod= e "&" of execution 
=0A
     Its very easy= to manage several screen sessions and they keep running till your server r= estarts=E2=80=A6.and generally u can ssh to some jumhost and create your sc= reen sessions there  
=0A

=0A
=0A
2. Run the fol= lowing 
=0A
     pstree -pulac | less
=0A=
     U can possible search for hive or your username or= root which was used to start the service=E2=80=A6and kill the process=0A

=0A
=0A
sanjay 
=0A

=0A
=0A=0A
= =0AFrom: Raj Hadoop <hadoopraj@yahoo.com>
=0AReply-To: "user@hive.apache.org" <user@hive.apache.org>, Raj Hadoop <hadoopraj@yahoo.com>
=0ADate: Monday, May 20, 2013 2:03 PM
=0ATo: Hive <user= @hive.apache.org>, User <user@hadoop.apache.org>
=0A= Subject: Unable to stop Thrift Server
=0A
=0A

=0A=0A
=0A
=0A
=0A
Hi,<= /div>=0A

=0A
=0A
=0AI was not able to stopThrift Server after perf= orming the following steps.
=0A
=0A
=0A
=0A$ bin/hive --service hive= server &
=0AStarting Hive Thrift Server
=0A
=0A$ netstat -nl |= grep 10000
=0Atcp 0 0 :::10000 :::* LISTEN
=0A
=0A
=0A
=0A=0A
= =0A
=0A
=0AI gave the following to stop. but not working.
=0A
=0A<= div style=3D"color:rgb(0,0,0);font-size:16px;font-family:times new roman, n= ew york, times, serif;background-color:transparent;font-style:normal;">=0A<= br>=0A
=0A
=0Ahive --service hiveserver --action stop 10000
=0A
=0A
= =0A
=0A
=0AHow can I stop this service?
=0A
=0A
=0A
=0A
=0A
=0A=0A
=0AThanks,
=0A
=0ARaj
=0A
=0A
=0A
=0A
=0A=
=0A
CONFIDENTIALITY NOTICE
=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=0AThis email message and any attachme= nts are for the exclusive use of the intended recipient(s) and may contain = confidential and privileged information. Any unauthorized review, use, disc= losure or distribution is prohibited. If you are not the intended recipient= ,=0A 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=0A and disclosure by the sender's Ema= il System Administrator.
=0A
=0A
=0A
=0A
=0A
=0A=0A
=0A
=0A
=0A
=0A
=0A
=0A
=0A
= =0A
=0A


---1252958027-176234906-1369085389=:17771--