Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 94AF3200BC7 for ; Fri, 25 Nov 2016 07:34:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 935D0160B1C; Fri, 25 Nov 2016 06:34:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DEC08160B01 for ; Fri, 25 Nov 2016 07:33:59 +0100 (CET) Received: (qmail 50680 invoked by uid 500); 25 Nov 2016 06:33:58 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 50603 invoked by uid 99); 25 Nov 2016 06:33:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Nov 2016 06:33:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 78A3F2C03DF for ; Fri, 25 Nov 2016 06:33:58 +0000 (UTC) Date: Fri, 25 Nov 2016 06:33:58 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-2569) DN decommissioning quirks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 25 Nov 2016 06:34:00 -0000 [ https://issues.apache.org/jira/browse/HDFS-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J resolved HDFS-2569. --------------------------- Resolution: Cannot Reproduce Assignee: (was: Harsh J) Cannot quite reproduce this on current versions. > DN decommissioning quirks > ------------------------- > > Key: HDFS-2569 > URL: https://issues.apache.org/jira/browse/HDFS-2569 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 0.23.0 > Reporter: Harsh J > > Decommissioning a node is working slightly odd in 0.23+: > The steps I did: > - Start HDFS via {{hdfs namenode}} and {{hdfs datanode}}. 1-node cluster. > - Zero files/blocks, so I go ahead and exclude-add my DN and do {{hdfs dfsadmin -refreshNodes}} > - I see the following log in NN tails, which is fine: > {code} > 11/11/20 09:28:10 INFO util.HostsFileReader: Setting the includes file to > 11/11/20 09:28:10 INFO util.HostsFileReader: Setting the excludes file to build/test/excludes > 11/11/20 09:28:10 INFO util.HostsFileReader: Refreshing hosts (include/exclude) list > 11/11/20 09:28:10 INFO util.HostsFileReader: Adding 192.168.1.23 to the list of hosts from build/test/excludes > {code} > - However, DN log tail gets no new messages. DN still runs. > - The dfshealth.jsp page shows this table, which makes no sense -- why is there 1 live and 1 dead?: > |Live Nodes|1 (Decommissioned: 1)| > |Dead Nodes|1 (Decommissioned: 0)| > |Decommissioning Nodes|0| > - The live nodes page shows this, meaning DN is still up and heartbeating but is decommissioned: > |Node|Last Contact|Admin State| > |192.168.1.23|0|Decommissioned| > - The dead nodes page shows this, and the link to the DN is broken cause the port is linked as -1. Also, showing 'false' for decommissioned makes no sense when live node page shows that it is already decommissioned: > |Node|Decommissioned| > |192.168.1.23|false| > Investigating if this is a quirk only observed when the DN had 0 blocks on it in sum total. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org