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 E11C211940 for ; Fri, 12 Sep 2014 20:55:35 +0000 (UTC) Received: (qmail 15431 invoked by uid 500); 12 Sep 2014 20:55:35 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 15385 invoked by uid 500); 12 Sep 2014 20:55:35 -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 15224 invoked by uid 99); 12 Sep 2014 20:55:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Sep 2014 20:55:35 +0000 Date: Fri, 12 Sep 2014 20:55:35 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11055) non-daemon pid files are missing 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-11055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-11055: -------------------------------------- Attachment: HADOOP-11055.patch * Fixes the error in secure_prereq to resemble English * _daemon functions now write the pidfile on execution * _wrapper functions now overwrite the pidfile with the proper post-fork pid * Counter put in place to avoid a race condition with pid file creation vs. fork pid * Cleaned up daemon related error messages * Fixed disown to actually operate on the correct pid > non-daemon pid files are missing > -------------------------------- > > Key: HADOOP-11055 > URL: https://issues.apache.org/jira/browse/HADOOP-11055 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Reporter: Allen Wittenauer > Priority: Blocker > Attachments: HADOOP-11055.patch > > > Somewhere along the way, daemons run in default mode lost pid files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)