Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 5D6AB185FD for ; Tue, 2 Feb 2016 16:04:40 +0000 (UTC) Received: (qmail 19149 invoked by uid 500); 2 Feb 2016 16:04:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 19099 invoked by uid 500); 2 Feb 2016 16:04:40 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 19083 invoked by uid 99); 2 Feb 2016 16:04:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2016 16:04:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E62262C1F57 for ; Tue, 2 Feb 2016 16:04:39 +0000 (UTC) Date: Tue, 2 Feb 2016 16:04:39 +0000 (UTC) From: "Rakesh R (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-7708) Balancer should delete its pid file when it completes rebalance 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/HDFS-7708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rakesh R updated HDFS-7708: --------------------------- Attachment: HDFS-7708-002.patch > Balancer should delete its pid file when it completes rebalance > --------------------------------------------------------------- > > Key: HDFS-7708 > URL: https://issues.apache.org/jira/browse/HDFS-7708 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer & mover > Affects Versions: 2.6.0 > Reporter: Akira AJISAKA > Assignee: Rakesh R > Attachments: HDFS-7708-002.patch, HDFS-7708.patch > > > When balancer completes rebalance and exits, it does not delete its pid file. Starting balancer again, then "kill -0 pid" to confirm the balancer process is not running. > The problem is: If another process is running as the same pid as `cat pidfile`, balancer fails to start with following message: > {code} > balancer is running as process 3443. Stop it first. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)