how to close hadoop when tmp files were cleared

2013-06-17 Thread zhang . heng16
Hi, My hadoop cluster has been running for a period of time. Now i want to close it for some system changes. But the command "bin/stop-all.sh" shows "no jobtracker to stop","no tasktracker to stop","no namenode to stop" and "no datanode to stop". I use "jps" got nothing but jps itself. However

Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread Azuryy Yu
you must using the same account that start your cluster. On Mon, Jun 17, 2013 at 3:39 PM, wrote: > > Hi, > > My hadoop cluster has been running for a period of time. Now i want to > close it for some system changes. But the command "bin/stop-all.sh" shows > "no jobtracker to stop","no tasktrac

Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread Harsh J
Just send the processes a SIGTERM signal (regular kill). Its what the script does anyway. Ensure to change the PID directory before the next restart though. On Mon, Jun 17, 2013 at 1:09 PM, wrote: > > Hi, > > My hadoop cluster has been running for a period of time. Now i want to > close it for

Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread Azuryy Yu
ps aux|grep java , you can find pid, then just 'kill -9' to stop the Hadoop process. On Mon, Jun 17, 2013 at 4:34 PM, Harsh J wrote: > Just send the processes a SIGTERM signal (regular kill). Its what the > script does anyway. Ensure to change the PID directory before the next > restart though

Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread Harsh J
Hey Azuryy, The -9 (SIGKILL) is unnecessary and isn't recommended unless its unresponsive. The SIGTERM has an additional benefit of running any necessary shutdown handling procedures, but SIGKILL is instant death. On Mon, Jun 17, 2013 at 2:34 PM, Azuryy Yu wrote: > ps aux|grep java , you can fi

Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread Azuryy Yu
Yes Harsh, It's my fault. On Mon, Jun 17, 2013 at 5:09 PM, Harsh J wrote: > Hey Azuryy, > > The -9 (SIGKILL) is unnecessary and isn't recommended unless its > unresponsive. The SIGTERM has an additional benefit of running any > necessary shutdown handling procedures, but SIGKILL is instant deat

答复: Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread zhang . heng16
人 user@hadoop.apache.org 抄送 主题 Re: how to close hadoop when tmp files were cleared you must using the same account that start your cluster. On Mon, Jun 17, 2013 at 3:39 PM, wrote: Hi, My hadoop cluster has been running for a period of time. Now i want to close it for some system chan

答复: Re: how to close hadoop when tmp files were cleared

2013-06-17 Thread zhang . heng16
Thanks all. Now i'm using "kill pid" to stop it. Harsh J 2013-06-17 17:09 请答复 给 user@hadoop.apache.org 收件人 "" 抄送 主题 Re: how to close hadoop when tmp files were cleared Hey Azuryy, The -9 (SIGKILL) is unnecessary and isn't recommended unless its un