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 <yypvsxf19870...@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

Reply via email to