You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by YouPeng Yang <yy...@gmail.com> on 2013/07/10 07:30:56 UTC
stop-dfs.sh does not work
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
Re: stop-dfs.sh does not work
Posted by ro...@gmail.com.
You can try the following
Sudo netstat -plten | grep java
This will give you all the java process which have a socket connection open.
You can easily figure out based on the port no you have mentioned in config files like core-site.xml and kill the process
Thanks & Regards,
Deepak Rosario Pancras Tharigopla.
Achiever/Responsibility/Arranger/Maximizer/Harmony
Sent from my iPhone
On Jul 10, 2013, at 12:30 AM, YouPeng Yang <yy...@gmail.com> 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
Re: stop-dfs.sh does not work
Posted by ro...@gmail.com.
You can try the following
Sudo netstat -plten | grep java
This will give you all the java process which have a socket connection open.
You can easily figure out based on the port no you have mentioned in config files like core-site.xml and kill the process
Thanks & Regards,
Deepak Rosario Pancras Tharigopla.
Achiever/Responsibility/Arranger/Maximizer/Harmony
Sent from my iPhone
On Jul 10, 2013, at 12:30 AM, YouPeng Yang <yy...@gmail.com> 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
Re: stop-dfs.sh does not work
Posted by deepak rosario tharigopla <ro...@gmail.com>.
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 <yy...@gmail.com>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*
RE: stop-dfs.sh does not work
Posted by Devaraj k <de...@huawei.com>.
Hi,
Are you trying to stop the DFS with same user or different user?
Could you check whether these processes are running or not using 'jps' or 'ps' .
Thanks
Devaraj k
From: YouPeng Yang [mailto:yypvsxf19870706@gmail.com]
Sent: 10 July 2013 11:01
To: user@hadoop.apache.org
Subject: stop-dfs.sh does not work
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
Re: stop-dfs.sh does not work
Posted by deepak rosario tharigopla <ro...@gmail.com>.
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 <yy...@gmail.com>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*
Re: stop-dfs.sh does not work
Posted by deepak rosario tharigopla <ro...@gmail.com>.
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 <yy...@gmail.com>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*
Re: stop-dfs.sh does not work
Posted by deepak rosario tharigopla <ro...@gmail.com>.
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 <yy...@gmail.com>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*
Re: stop-dfs.sh does not work
Posted by ro...@gmail.com.
You can try the following
Sudo netstat -plten | grep java
This will give you all the java process which have a socket connection open.
You can easily figure out based on the port no you have mentioned in config files like core-site.xml and kill the process
Thanks & Regards,
Deepak Rosario Pancras Tharigopla.
Achiever/Responsibility/Arranger/Maximizer/Harmony
Sent from my iPhone
On Jul 10, 2013, at 12:30 AM, YouPeng Yang <yy...@gmail.com> 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
RE: stop-dfs.sh does not work
Posted by Devaraj k <de...@huawei.com>.
Hi,
Are you trying to stop the DFS with same user or different user?
Could you check whether these processes are running or not using 'jps' or 'ps' .
Thanks
Devaraj k
From: YouPeng Yang [mailto:yypvsxf19870706@gmail.com]
Sent: 10 July 2013 11:01
To: user@hadoop.apache.org
Subject: stop-dfs.sh does not work
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
RE: stop-dfs.sh does not work
Posted by Devaraj k <de...@huawei.com>.
Hi,
Are you trying to stop the DFS with same user or different user?
Could you check whether these processes are running or not using 'jps' or 'ps' .
Thanks
Devaraj k
From: YouPeng Yang [mailto:yypvsxf19870706@gmail.com]
Sent: 10 July 2013 11:01
To: user@hadoop.apache.org
Subject: stop-dfs.sh does not work
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
RE: stop-dfs.sh does not work
Posted by Devaraj k <de...@huawei.com>.
Hi,
Are you trying to stop the DFS with same user or different user?
Could you check whether these processes are running or not using 'jps' or 'ps' .
Thanks
Devaraj k
From: YouPeng Yang [mailto:yypvsxf19870706@gmail.com]
Sent: 10 July 2013 11:01
To: user@hadoop.apache.org
Subject: stop-dfs.sh does not work
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
Re: stop-dfs.sh does not work
Posted by ro...@gmail.com.
You can try the following
Sudo netstat -plten | grep java
This will give you all the java process which have a socket connection open.
You can easily figure out based on the port no you have mentioned in config files like core-site.xml and kill the process
Thanks & Regards,
Deepak Rosario Pancras Tharigopla.
Achiever/Responsibility/Arranger/Maximizer/Harmony
Sent from my iPhone
On Jul 10, 2013, at 12:30 AM, YouPeng Yang <yy...@gmail.com> 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