You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by zh...@zte.com.cn on 2013/06/17 09:39:32 UTC

how to close hadoop when tmp files were cleared

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, 
hadoop is indeed running.I think it may be some tmp files about hadoop had 
been cleared by operation system. Could someone tell me how to stop hadoop 
in case of no data files breaks ?
Any guidance would be greatly appreciated. Thanks!

Jeff

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Yes, i use the same account named "hadoop".

Using "ps aux|grep java" could find hadoop is running, i forgot to change 
the "HADOOP_PID_DIR" parameter, and operation system must cleared the pid 
files.




Azuryy Yu <az...@gmail.com> 
2013-06-17 15:51
请答复 给
user@hadoop.apache.org


收件人
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, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and 
"no datanode to stop". I use "jps" got nothing but jps itself. However, 
 hadoop is indeed running.I think it may be some tmp files about hadoop 
had been cleared by operation system. Could someone tell me how to stop 
hadoop in case of no data files breaks ? 
Any guidance would be greatly appreciated. Thanks! 

Jeff 


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail 
(and any attachment transmitted herewith) is privileged and confidential 
and is intended for the exclusive use of the addressee(s).  If you are not 
an intended recipient, any disclosure, reproduction, distribution or other 
dissemination or use of the information contained is strictly prohibited. 
If you have received this mail in error, please delete it and notify us 
immediately.





--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Yes, i use the same account named "hadoop".

Using "ps aux|grep java" could find hadoop is running, i forgot to change 
the "HADOOP_PID_DIR" parameter, and operation system must cleared the pid 
files.




Azuryy Yu <az...@gmail.com> 
2013-06-17 15:51
请答复 给
user@hadoop.apache.org


收件人
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, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and 
"no datanode to stop". I use "jps" got nothing but jps itself. However, 
 hadoop is indeed running.I think it may be some tmp files about hadoop 
had been cleared by operation system. Could someone tell me how to stop 
hadoop in case of no data files breaks ? 
Any guidance would be greatly appreciated. Thanks! 

Jeff 


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail 
(and any attachment transmitted herewith) is privileged and confidential 
and is intended for the exclusive use of the addressee(s).  If you are not 
an intended recipient, any disclosure, reproduction, distribution or other 
dissemination or use of the information contained is strictly prohibited. 
If you have received this mail in error, please delete it and notify us 
immediately.





--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Yes, i use the same account named "hadoop".

Using "ps aux|grep java" could find hadoop is running, i forgot to change 
the "HADOOP_PID_DIR" parameter, and operation system must cleared the pid 
files.




Azuryy Yu <az...@gmail.com> 
2013-06-17 15:51
请答复 给
user@hadoop.apache.org


收件人
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, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and 
"no datanode to stop". I use "jps" got nothing but jps itself. However, 
 hadoop is indeed running.I think it may be some tmp files about hadoop 
had been cleared by operation system. Could someone tell me how to stop 
hadoop in case of no data files breaks ? 
Any guidance would be greatly appreciated. Thanks! 

Jeff 


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail 
(and any attachment transmitted herewith) is privileged and confidential 
and is intended for the exclusive use of the addressee(s).  If you are not 
an intended recipient, any disclosure, reproduction, distribution or other 
dissemination or use of the information contained is strictly prohibited. 
If you have received this mail in error, please delete it and notify us 
immediately.





--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Yes, i use the same account named "hadoop".

Using "ps aux|grep java" could find hadoop is running, i forgot to change 
the "HADOOP_PID_DIR" parameter, and operation system must cleared the pid 
files.




Azuryy Yu <az...@gmail.com> 
2013-06-17 15:51
请答复 给
user@hadoop.apache.org


收件人
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, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and 
"no datanode to stop". I use "jps" got nothing but jps itself. However, 
 hadoop is indeed running.I think it may be some tmp files about hadoop 
had been cleared by operation system. Could someone tell me how to stop 
hadoop in case of no data files breaks ? 
Any guidance would be greatly appreciated. Thanks! 

Jeff 


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail 
(and any attachment transmitted herewith) is privileged and confidential 
and is intended for the exclusive use of the addressee(s).  If you are not 
an intended recipient, any disclosure, reproduction, distribution or other 
dissemination or use of the information contained is strictly prohibited. 
If you have received this mail in error, please delete it and notify us 
immediately.





--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
you must using the same account that start your cluster.


On Mon, Jun 17, 2013 at 3:39 PM, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
>  hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
>
>
>
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
you must using the same account that start your cluster.


On Mon, Jun 17, 2013 at 3:39 PM, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
>  hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
>
>
>
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
Yes Harsh, It's my fault.


On Mon, Jun 17, 2013 at 5:09 PM, Harsh J <ha...@cloudera.com> 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 death.
>
> On Mon, Jun 17, 2013 at 2:34 PM, Azuryy Yu <az...@gmail.com> wrote:
> > 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 <ha...@cloudera.com> 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.
> >>
> >> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> >> > and
> >> > "no datanode to stop". I use "jps" got nothing but jps itself.
> However,
> >> > hadoop is indeed running.I think it may be some tmp files about hadoop
> >> > had
> >> > been cleared by operation system. Could someone tell me how to stop
> >> > hadoop
> >> > in case of no data files breaks ?
> >> > Any guidance would be greatly appreciated. Thanks!
> >> >
> >> > Jeff
> >> >
> >> >
> >> > --------------------------------------------------------
> >> > ZTE Information Security Notice: The information contained in this
> mail
> >> > (and
> >> > any attachment transmitted herewith) is privileged and confidential
> and
> >> > is
> >> > intended for the exclusive use of the addressee(s).  If you are not an
> >> > intended recipient, any disclosure, reproduction, distribution or
> other
> >> > dissemination or use of the information contained is strictly
> >> > prohibited.
> >> > If you have received this mail in error, please delete it and notify
> us
> >> > immediately.
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Harsh J
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
Yes Harsh, It's my fault.


On Mon, Jun 17, 2013 at 5:09 PM, Harsh J <ha...@cloudera.com> 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 death.
>
> On Mon, Jun 17, 2013 at 2:34 PM, Azuryy Yu <az...@gmail.com> wrote:
> > 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 <ha...@cloudera.com> 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.
> >>
> >> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> >> > and
> >> > "no datanode to stop". I use "jps" got nothing but jps itself.
> However,
> >> > hadoop is indeed running.I think it may be some tmp files about hadoop
> >> > had
> >> > been cleared by operation system. Could someone tell me how to stop
> >> > hadoop
> >> > in case of no data files breaks ?
> >> > Any guidance would be greatly appreciated. Thanks!
> >> >
> >> > Jeff
> >> >
> >> >
> >> > --------------------------------------------------------
> >> > ZTE Information Security Notice: The information contained in this
> mail
> >> > (and
> >> > any attachment transmitted herewith) is privileged and confidential
> and
> >> > is
> >> > intended for the exclusive use of the addressee(s).  If you are not an
> >> > intended recipient, any disclosure, reproduction, distribution or
> other
> >> > dissemination or use of the information contained is strictly
> >> > prohibited.
> >> > If you have received this mail in error, please delete it and notify
> us
> >> > immediately.
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Harsh J
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
Yes Harsh, It's my fault.


On Mon, Jun 17, 2013 at 5:09 PM, Harsh J <ha...@cloudera.com> 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 death.
>
> On Mon, Jun 17, 2013 at 2:34 PM, Azuryy Yu <az...@gmail.com> wrote:
> > 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 <ha...@cloudera.com> 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.
> >>
> >> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> >> > and
> >> > "no datanode to stop". I use "jps" got nothing but jps itself.
> However,
> >> > hadoop is indeed running.I think it may be some tmp files about hadoop
> >> > had
> >> > been cleared by operation system. Could someone tell me how to stop
> >> > hadoop
> >> > in case of no data files breaks ?
> >> > Any guidance would be greatly appreciated. Thanks!
> >> >
> >> > Jeff
> >> >
> >> >
> >> > --------------------------------------------------------
> >> > ZTE Information Security Notice: The information contained in this
> mail
> >> > (and
> >> > any attachment transmitted herewith) is privileged and confidential
> and
> >> > is
> >> > intended for the exclusive use of the addressee(s).  If you are not an
> >> > intended recipient, any disclosure, reproduction, distribution or
> other
> >> > dissemination or use of the information contained is strictly
> >> > prohibited.
> >> > If you have received this mail in error, please delete it and notify
> us
> >> > immediately.
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Harsh J
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
Yes Harsh, It's my fault.


On Mon, Jun 17, 2013 at 5:09 PM, Harsh J <ha...@cloudera.com> 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 death.
>
> On Mon, Jun 17, 2013 at 2:34 PM, Azuryy Yu <az...@gmail.com> wrote:
> > 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 <ha...@cloudera.com> 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.
> >>
> >> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> >> > and
> >> > "no datanode to stop". I use "jps" got nothing but jps itself.
> However,
> >> > hadoop is indeed running.I think it may be some tmp files about hadoop
> >> > had
> >> > been cleared by operation system. Could someone tell me how to stop
> >> > hadoop
> >> > in case of no data files breaks ?
> >> > Any guidance would be greatly appreciated. Thanks!
> >> >
> >> > Jeff
> >> >
> >> >
> >> > --------------------------------------------------------
> >> > ZTE Information Security Notice: The information contained in this
> mail
> >> > (and
> >> > any attachment transmitted herewith) is privileged and confidential
> and
> >> > is
> >> > intended for the exclusive use of the addressee(s).  If you are not an
> >> > intended recipient, any disclosure, reproduction, distribution or
> other
> >> > dissemination or use of the information contained is strictly
> >> > prohibited.
> >> > If you have received this mail in error, please delete it and notify
> us
> >> > immediately.
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Harsh J
> >
> >
>
>
>
> --
> Harsh J
>

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

Posted by zh...@zte.com.cn.
Thanks all. Now i'm using "kill pid" to stop it.






Harsh J <ha...@cloudera.com> 
2013-06-17 17:09
请答复 给
user@hadoop.apache.org


收件人
"<us...@hadoop.apache.org>" <us...@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
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to 
stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. 
However,
>> > hadoop is indeed running.I think it may be some tmp files about 
hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this 
mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential 
and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not 
an
>> > intended recipient, any disclosure, reproduction, distribution or 
other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify 
us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Thanks all. Now i'm using "kill pid" to stop it.






Harsh J <ha...@cloudera.com> 
2013-06-17 17:09
请答复 给
user@hadoop.apache.org


收件人
"<us...@hadoop.apache.org>" <us...@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
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to 
stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. 
However,
>> > hadoop is indeed running.I think it may be some tmp files about 
hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this 
mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential 
and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not 
an
>> > intended recipient, any disclosure, reproduction, distribution or 
other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify 
us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Thanks all. Now i'm using "kill pid" to stop it.






Harsh J <ha...@cloudera.com> 
2013-06-17 17:09
请答复 给
user@hadoop.apache.org


收件人
"<us...@hadoop.apache.org>" <us...@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
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to 
stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. 
However,
>> > hadoop is indeed running.I think it may be some tmp files about 
hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this 
mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential 
and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not 
an
>> > intended recipient, any disclosure, reproduction, distribution or 
other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify 
us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

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

Posted by zh...@zte.com.cn.
Thanks all. Now i'm using "kill pid" to stop it.






Harsh J <ha...@cloudera.com> 
2013-06-17 17:09
请答复 给
user@hadoop.apache.org


收件人
"<us...@hadoop.apache.org>" <us...@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
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to 
stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. 
However,
>> > hadoop is indeed running.I think it may be some tmp files about 
hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this 
mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential 
and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not 
an
>> > intended recipient, any disclosure, reproduction, distribution or 
other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify 
us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
>> > hadoop is indeed running.I think it may be some tmp files about hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not an
>> > intended recipient, any disclosure, reproduction, distribution or other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
>> > hadoop is indeed running.I think it may be some tmp files about hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not an
>> > intended recipient, any disclosure, reproduction, distribution or other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
>> > hadoop is indeed running.I think it may be some tmp files about hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not an
>> > intended recipient, any disclosure, reproduction, distribution or other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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 <az...@gmail.com> wrote:
> 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 <ha...@cloudera.com> 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.
>>
>> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
>> > and
>> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
>> > hadoop is indeed running.I think it may be some tmp files about hadoop
>> > had
>> > been cleared by operation system. Could someone tell me how to stop
>> > hadoop
>> > in case of no data files breaks ?
>> > Any guidance would be greatly appreciated. Thanks!
>> >
>> > Jeff
>> >
>> >
>> > --------------------------------------------------------
>> > ZTE Information Security Notice: The information contained in this mail
>> > (and
>> > any attachment transmitted herewith) is privileged and confidential and
>> > is
>> > intended for the exclusive use of the addressee(s).  If you are not an
>> > intended recipient, any disclosure, reproduction, distribution or other
>> > dissemination or use of the information contained is strictly
>> > prohibited.
>> > If you have received this mail in error, please delete it and notify us
>> > immediately.
>> >
>> >
>>
>>
>>
>> --
>> Harsh J
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
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 <ha...@cloudera.com> 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.
>
> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> and
> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
> > hadoop is indeed running.I think it may be some tmp files about hadoop
> had
> > been cleared by operation system. Could someone tell me how to stop
> hadoop
> > in case of no data files breaks ?
> > Any guidance would be greatly appreciated. Thanks!
> >
> > Jeff
> >
> >
> > --------------------------------------------------------
> > ZTE Information Security Notice: The information contained in this mail
> (and
> > any attachment transmitted herewith) is privileged and confidential and
> is
> > intended for the exclusive use of the addressee(s).  If you are not an
> > intended recipient, any disclosure, reproduction, distribution or other
> > dissemination or use of the information contained is strictly prohibited.
> > If you have received this mail in error, please delete it and notify us
> > immediately.
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
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 <ha...@cloudera.com> 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.
>
> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> and
> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
> > hadoop is indeed running.I think it may be some tmp files about hadoop
> had
> > been cleared by operation system. Could someone tell me how to stop
> hadoop
> > in case of no data files breaks ?
> > Any guidance would be greatly appreciated. Thanks!
> >
> > Jeff
> >
> >
> > --------------------------------------------------------
> > ZTE Information Security Notice: The information contained in this mail
> (and
> > any attachment transmitted herewith) is privileged and confidential and
> is
> > intended for the exclusive use of the addressee(s).  If you are not an
> > intended recipient, any disclosure, reproduction, distribution or other
> > dissemination or use of the information contained is strictly prohibited.
> > If you have received this mail in error, please delete it and notify us
> > immediately.
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
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 <ha...@cloudera.com> 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.
>
> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> and
> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
> > hadoop is indeed running.I think it may be some tmp files about hadoop
> had
> > been cleared by operation system. Could someone tell me how to stop
> hadoop
> > in case of no data files breaks ?
> > Any guidance would be greatly appreciated. Thanks!
> >
> > Jeff
> >
> >
> > --------------------------------------------------------
> > ZTE Information Security Notice: The information contained in this mail
> (and
> > any attachment transmitted herewith) is privileged and confidential and
> is
> > intended for the exclusive use of the addressee(s).  If you are not an
> > intended recipient, any disclosure, reproduction, distribution or other
> > dissemination or use of the information contained is strictly prohibited.
> > If you have received this mail in error, please delete it and notify us
> > immediately.
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
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 <ha...@cloudera.com> 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.
>
> On Mon, Jun 17, 2013 at 1:09 PM,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop"
> and
> > "no datanode to stop". I use "jps" got nothing but jps itself. However,
> > hadoop is indeed running.I think it may be some tmp files about hadoop
> had
> > been cleared by operation system. Could someone tell me how to stop
> hadoop
> > in case of no data files breaks ?
> > Any guidance would be greatly appreciated. Thanks!
> >
> > Jeff
> >
> >
> > --------------------------------------------------------
> > ZTE Information Security Notice: The information contained in this mail
> (and
> > any attachment transmitted herewith) is privileged and confidential and
> is
> > intended for the exclusive use of the addressee(s).  If you are not an
> > intended recipient, any disclosure, reproduction, distribution or other
> > dissemination or use of the information contained is strictly prohibited.
> > If you have received this mail in error, please delete it and notify us
> > immediately.
> >
> >
>
>
>
> --
> Harsh J
>

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
> hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and
> any attachment transmitted herewith) is privileged and confidential and is
> intended for the exclusive use of the addressee(s).  If you are not an
> intended recipient, any disclosure, reproduction, distribution or other
> dissemination or use of the information contained is strictly prohibited.
> If you have received this mail in error, please delete it and notify us
> immediately.
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
> hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and
> any attachment transmitted herewith) is privileged and confidential and is
> intended for the exclusive use of the addressee(s).  If you are not an
> intended recipient, any disclosure, reproduction, distribution or other
> dissemination or use of the information contained is strictly prohibited.
> If you have received this mail in error, please delete it and notify us
> immediately.
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
> hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and
> any attachment transmitted herewith) is privileged and confidential and is
> intended for the exclusive use of the addressee(s).  If you are not an
> intended recipient, any disclosure, reproduction, distribution or other
> dissemination or use of the information contained is strictly prohibited.
> If you have received this mail in error, please delete it and notify us
> immediately.
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Harsh J <ha...@cloudera.com>.
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,  <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
> hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and
> any attachment transmitted herewith) is privileged and confidential and is
> intended for the exclusive use of the addressee(s).  If you are not an
> intended recipient, any disclosure, reproduction, distribution or other
> dissemination or use of the information contained is strictly prohibited.
> If you have received this mail in error, please delete it and notify us
> immediately.
>
>



-- 
Harsh J

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
you must using the same account that start your cluster.


On Mon, Jun 17, 2013 at 3:39 PM, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
>  hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
>
>
>
>

Re: how to close hadoop when tmp files were cleared

Posted by Azuryy Yu <az...@gmail.com>.
you must using the same account that start your cluster.


On Mon, Jun 17, 2013 at 3:39 PM, <zh...@zte.com.cn> 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 tasktracker to stop","no namenode to stop" and
> "no datanode to stop". I use "jps" got nothing but jps itself. However,
>  hadoop is indeed running.I think it may be some tmp files about hadoop had
> been cleared by operation system. Could someone tell me how to stop hadoop
> in case of no data files breaks ?
> Any guidance would be greatly appreciated. Thanks!
>
> Jeff
>
>
> --------------------------------------------------------
> ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
>
>
>
>