Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B02210F2C for ; Wed, 10 Jul 2013 06:03:49 +0000 (UTC) Received: (qmail 70508 invoked by uid 500); 10 Jul 2013 06:03:43 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 69682 invoked by uid 500); 10 Jul 2013 06:03:43 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 69674 invoked by uid 99); 10 Jul 2013 06:03:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 06:03:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rozartharigopla@gmail.com designates 74.125.82.177 as permitted sender) Received: from [74.125.82.177] (HELO mail-we0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 06:03:36 +0000 Received: by mail-we0-f177.google.com with SMTP id m19so5309974wev.8 for ; Tue, 09 Jul 2013 23:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wdFyvj6NTRYurga28X2hoKLvsRd0rgqZVV18e0lk5pA=; b=Lrclso3Zm7OD5orAo5FgqBE3lW7uW+P3UlMlx73vsuxvt7BzhynSqeu2aEEh5m9Ri5 PaNMYBU1O3u93FnVLbTK3Tr5b9SAlQTj9zRdBR8L9VUEAe1rcSi3qdJ3oltpDEmGEisU xGL05rHZ2B+c8rNOktmB1HoDN8BZ9gVY/6GNrtNbzUD4uDvFPEnZCBNoawLP0mEcXsxn urXO5sy7uxVN25PVGCbTJWdlshZqtclVYedFEpZPJ3HqgElu5CIbZXwBXF1fZj5QE9gC W+AmaBDvcahBVhNfpo0grR7KtnrRa6iwpNC8DFj+emkG6VUvA33rqrXf2zT1PfbQ59HN H8Cw== MIME-Version: 1.0 X-Received: by 10.194.78.42 with SMTP id y10mr16345522wjw.93.1373436196660; Tue, 09 Jul 2013 23:03:16 -0700 (PDT) Received: by 10.217.93.68 with HTTP; Tue, 9 Jul 2013 23:03:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Jul 2013 01:03:16 -0500 Message-ID: Subject: Re: stop-dfs.sh does not work From: deepak rosario tharigopla To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bfcfdce9fac4804e1220899 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfcfdce9fac4804e1220899 Content-Type: text/plain; charset=ISO-8859-1 Also, You can browse to this location which is the jdk root /usr/lib/jvm/jdk1.6.0_43/bin/ and if you can find jps (jdk1.6 comes with jps but not openjdk and its preferable to use sun jdk6 for hadoop) there simple type jps and execute which will give you all the java process in the JVM Good handy jps command. You can add the following in the .bashrc file in the /home// unalias jps $> /dev/null alias jps="/usr/lib/jvm/jdk1.6.0_43/bin/jps" and log out and login. So that you can use jps anywhere you dont have to open the jdk file location for executing jps. On Wed, Jul 10, 2013 at 12:30 AM, YouPeng Yang wrote: > Hi users. > > I start my HDFS by using :start-dfs.sh. And add the node start > successfully. > However the stop-dfs.sh dose not work when I want to stop the HDFS. > It shows : no namdenode to stop > no datanode to stop. > > I have to stop it by the command: kill -9 pid. > > > So I wonder that how the stop-dfs.sh does not work no longer? > > > Best regards > -- Thanks & Regards Deepak Rosario Pancras *Achiever/Responsibility/Arranger/Maximizer/Harmony* --047d7bfcfdce9fac4804e1220899 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Also,
You can browse to this locat= ion which is the jdk root
/usr/lib/jvm/jdk1.6.0_43/bin/
and if you ca= n find jps (jdk1.6 comes with jps but not openjdk and its preferable to use= sun jdk6 for hadoop) there simple type jps and execute which will give you= all the java process in the JVM

Good handy jps command. You can add the following in the .bashrc = file in the /home/<user>/
unalias jps $> /dev/null
alias jps= =3D"/usr/lib/jvm/jdk1.6.0_43/bin/jps"

and log out an= d login. So that you can use jps anywhere you dont have to open the jdk fil= e location for executing jps.





=
On Wed, Jul 10, 2013 at 12:30 AM, YouPeng Yang <= span dir=3D"ltr"><yypvsxf19870706@gmail.com> wrote:
Hi users.
=A0 =A0 I start my HDFS by using :start-dfs.sh. And add the no= de start successfully.
However the stop-dfs.sh dose not work when I want to stop the HDFS.
It shows : no namdenode to stop=A0
=A0 =A0 =A0 =A0 =A0 =A0no data= node to stop.

I have to stop it by the command: ki= ll -9 pid.


So I wonder that how the= stop-dfs.sh does not =A0work no longer?


Best regards



--
Thanks & RegardsDeepak Rosario Pancras
Achiever/Responsibility/Arranger/Maximizer/Ha= rmony
--047d7bfcfdce9fac4804e1220899--