hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1074) Clean up YARN CLI app list to show only running apps.
Date Sun, 25 Aug 2013 13:29:52 GMT

    [ https://issues.apache.org/jira/browse/YARN-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749636#comment-13749636
] 

Hudson commented on YARN-1074:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1502 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1502/])
YARN-1074. Cleaned up YARN CLI application list to only display running applications by default.
Contributed by Xuan Gong. (vinodkv: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1517196)
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/GetApplicationsRequest.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/proto/yarn_service_protos.proto
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/YarnClient.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/api/impl/YarnClientImpl.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/ApplicationCLI.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestYarnClient.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestYarnCLI.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/impl/pb/GetApplicationsRequestPBImpl.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ClientRMService.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMServerUtils.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmapp/RMAppImpl.java

                
> 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
>             Fix For: 2.1.1-beta
>
>         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

Mime
View raw message