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 2B2A3113EB for ; Mon, 5 May 2014 11:08:48 +0000 (UTC) Received: (qmail 25862 invoked by uid 500); 5 May 2014 11:08:31 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 25586 invoked by uid 500); 5 May 2014 11:08:23 -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 25438 invoked by uid 99); 5 May 2014 11:08:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 11:08:19 +0000 Date: Mon, 5 May 2014 11:08:19 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6295) Add "decommissioning" state and node state filtering to dfsadmin 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-6295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989422#comment-13989422 ] Hudson commented on HDFS-6295: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk #558 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/558/]) HDFS-6295. Add decommissioning state and node state filtering to dfsadmin. Contributed by Andrew Wang. (wang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1592438) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsConstants.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelper.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeManager.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/proto/ClientNamenodeProtocol.proto * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDecommissioningStatus.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml > Add "decommissioning" state and node state filtering to dfsadmin > ---------------------------------------------------------------- > > Key: HDFS-6295 > URL: https://issues.apache.org/jira/browse/HDFS-6295 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.4.0 > Reporter: Andrew Wang > Assignee: Andrew Wang > Fix For: 2.5.0 > > Attachments: hdfs-6295-1.patch, hdfs-6295-2.patch, hdfs-6295-3.patch > > > One of the few admin-friendly ways of viewing the list of decommissioning nodes is via "hdfs dfsadmin -report". However, this lists *all* the datanodes on the cluster, which is prohibitive for large clusters, and also requires manual parsing to look at the decom status. It'd be nicer if we could fetch and display only decommissioning nodes (or just live and dead nodes for that matter). -- This message was sent by Atlassian JIRA (v6.2#6252)