You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Varun Saxena (JIRA)" <ji...@apache.org> on 2016/01/31 21:30:40 UTC

[jira] [Commented] (YARN-4491) yarn list command to support filtering by tags

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

Varun Saxena commented on YARN-4491:
------------------------------------

Sample Output :
{noformat}
varun@varun-Inspiron-5558:~/hadoop/bin$ ./yarn application -list --appStates FINISHED --appTags tag1
Total number of applications (application-types: [], states: [FINISHED] and tags: [tag1]):1
                Application-Id	    Application-Name	    Application-Type	      User	     Queue	             State	       Final-State	       Progress	                       Tracking-URL
application_1454226137194_0003	           Sleep job	           MAPREDUCE	      varun	    default	          FINISHED	         SUCCEEDED	           100%	http://varun-Inspiron-5558:19888/jobhistory/job/job_1454226137194_0003
{noformat}

> yarn list command to support filtering by tags
> ----------------------------------------------
>
>                 Key: YARN-4491
>                 URL: https://issues.apache.org/jira/browse/YARN-4491
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>            Assignee: Varun Saxena
>            Priority: Minor
>         Attachments: YARN-4491.01.patch
>
>
> although you can filter the list of yarn applications using the --appTypes option; you can't use application tags. For finding applications on large processes, adding a --tag option would allow users to be more selective
> example:
> {code}
> yarn list --appTypes SPARK --tag production
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)