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 A2601FA88 for ; Sat, 24 Aug 2013 21:13:52 +0000 (UTC) Received: (qmail 59347 invoked by uid 500); 24 Aug 2013 21:13:52 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 59320 invoked by uid 500); 24 Aug 2013 21:13:52 -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 59312 invoked by uid 99); 24 Aug 2013 21:13:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Aug 2013 21:13:52 +0000 Date: Sat, 24 Aug 2013 21:13:52 +0000 (UTC) From: "Vinod Kumar Vavilapalli (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1074) Clean up YARN CLI app list to show only running apps. 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-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749471#comment-13749471 ] Vinod Kumar Vavilapalli commented on YARN-1074: ----------------------------------------------- TestJHSSecurity seems to be caused by YARN-1085. I'm checking this one in. > Clean up YARN CLI app list to show only running apps. > ----------------------------------------------------- > > Key: YARN-1074 > URL: https://issues.apache.org/jira/browse/YARN-1074 > Project: Hadoop YARN > Issue Type: Improvement > Components: client > Reporter: Tassapol Athiapinya > Assignee: Xuan Gong > Attachments: YARN-1074.1.patch, YARN-1074.2.patch, YARN-1074.3.patch, YARN-1074.4.patch, YARN-1074.5.patch, YARN-1074.6.patch, YARN-1074.7.patch, YARN-1074.8.patch > > > Once a user brings up YARN daemon, runs jobs, jobs will stay in output returned by $ yarn application -list even after jobs complete already. We want YARN command line to clean up this list. Specifically, we want to remove applications with FINISHED state(not Final-State) or KILLED state from the result. > {code} > [user1@host1 ~]$ yarn application -list > Total Applications:150 > Application-Id Application-Name Application-Type User Queue State Final-State Progress Tracking-URL > application_1374638600275_0109 Sleep job MAPREDUCE user1 default KILLED KILLED 100% host1:54059 > application_1374638600275_0121 Sleep job MAPREDUCE user1 default FINISHED SUCCEEDED 100% host1:19888/jobhistory/job/job_1374638600275_0121 > application_1374638600275_0020 Sleep job MAPREDUCE user1 default FINISHED SUCCEEDED 100% host1:19888/jobhistory/job/job_1374638600275_0020 > application_1374638600275_0038 Sleep job MAPREDUCE user1 default > .... > {code} -- 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