[ 
https://issues.apache.org/jira/browse/HADOOP-13837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weiwei Yang updated HADOOP-13837:
---------------------------------
    Description: 
Always get {{ERROR: Unable to kill ...}} after {{Trying to kill with kill -9}}, 
see following output of stop-yarn.sh

{code}
<NM_HOST>: WARNING: nodemanager did not stop gracefully after 5 seconds: Trying 
to kill with kill -9
<NM_HOST>: ERROR: Unable to kill 18097
{code}

hadoop_stop_daemon doesn't check process liveness correctly, this bug can be 
reproduced by the script easily. kill -9 would need some time to be done, 
directly check process existence right after mostly will fail.

  was:
Always get {{ERROR: Unable to kill ...}} after {{Trying to kill with kill -9}}, 
see following output of stop-yarn.sh

{code}
<NM_HOST>: WARNING: nodemanager did not stop gracefully after 5 seconds: Trying 
to kill with kill -9
<NM_HOST>: ERROR: Unable to kill 18097
{code}

hadoop_stop_daemon doesn't check process liveness correctly, this bug can be 
reproduced by the script easily.


> Process check bug in hadoop_stop_daemon
> ---------------------------------------
>
>                 Key: HADOOP-13837
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13837
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: check_proc.sh
>
>
> Always get {{ERROR: Unable to kill ...}} after {{Trying to kill with kill 
> -9}}, see following output of stop-yarn.sh
> {code}
> <NM_HOST>: WARNING: nodemanager did not stop gracefully after 5 seconds: 
> Trying to kill with kill -9
> <NM_HOST>: ERROR: Unable to kill 18097
> {code}
> hadoop_stop_daemon doesn't check process liveness correctly, this bug can be 
> reproduced by the script easily. kill -9 would need some time to be done, 
> directly check process existence right after mostly will fail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to