Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADAE218BED for ; Mon, 5 Oct 2015 19:43:27 +0000 (UTC) Received: (qmail 62453 invoked by uid 500); 5 Oct 2015 19:43:27 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 62378 invoked by uid 500); 5 Oct 2015 19:43:27 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 62365 invoked by uid 99); 5 Oct 2015 19:43:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 19:43:27 +0000 Date: Mon, 5 Oct 2015 19:43:27 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12364) Deleting pid file after stop is causing the daemons to keep restarting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943907#comment-14943907 ] Allen Wittenauer commented on HADOOP-12364: ------------------------------------------- a) This patch needs to get updated for trunk. b) using single brackets in bash is bad c) using single quote shellouts is deprecated > 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 > Assignee: Siqi Li > Priority: Minor > 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)