Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 2A2FDC7CD for ; Fri, 19 Jul 2013 16:36:57 +0000 (UTC) Received: (qmail 46491 invoked by uid 500); 19 Jul 2013 16:36:56 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 46092 invoked by uid 500); 19 Jul 2013 16:36:51 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 45886 invoked by uid 99); 19 Jul 2013 16:36:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 16:36:48 +0000 Date: Fri, 19 Jul 2013 16:36:48 +0000 (UTC) From: "Sandy Ryza (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-905) Add state filters to nodes CLI 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/YARN-905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713812#comment-13713812 ] Sandy Ryza commented on YARN-905: --------------------------------- Thanks for working on this, [~ywskycn]. The patch mostly looks good. A couple comments: * "fileter" should be "filter" * The resolution from YARN-791 was that we would only return RUNNING nodes if no filter was given. Sorry for not making that more explicit on this JIRA. * It looks like this line is over 80 characters: List nodesReport = client.getNodeReports(nodeStates.toArray(new NodeState[0])); > Add state filters to nodes CLI > ------------------------------ > > Key: YARN-905 > URL: https://issues.apache.org/jira/browse/YARN-905 > Project: Hadoop YARN > Issue Type: Improvement > Affects Versions: 2.0.4-alpha > Reporter: Sandy Ryza > Assignee: Wei Yan > Attachments: YARN-905.patch > > > It would be helpful for the nodes CLI to have a node-states option that allows it to return nodes that are not just in the RUNNING state. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira