You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/09/01 00:59:45 UTC

[jira] [Commented] (HADOOP-12364) Deleting pid file after stop is causing the daemons to keep restarting

    [ https://issues.apache.org/jira/browse/HADOOP-12364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14724344#comment-14724344 ] 

Allen Wittenauer commented on HADOOP-12364:
-------------------------------------------

A bug, but it's worth pointing out that this also sounds like a misconfiguration of HADOOP_SLEEP_TIMEOUT for your installation.  Whatever is restarting it should *also* wait HADOOP_SLEEP_TIMEOUT before doing that.

> Deleting pid file after stop is causing the daemons to keep restarting 
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-12364
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12364
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Siqi Li
>            Priority: Blocker
>         Attachments: HADOOP-12364.v1.patch
>
>
> pid files are deleting in 5 seconds after we stop the daemons. If a start command were executed within the 5 seconds, the pid file will be overwrite with a new pid. However, this pid file is going to be deleted by the former stop command. This is causing the monitoring service to lose track of the daemons, hence keep rebooting them



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