Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # user >> RE: stop-dfs.sh does not work


+
Devaraj k 2013-07-10, 06:19
Copy link to this message
-
Re: stop-dfs.sh does not work
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/<user>/
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 <[EMAIL PROTECTED]>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*