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

Szilard Nemeth commented on YARN-8659:
--------------------------------------

Thanks [~haibochen] for confirming that this is a bug.
1. This was really missing, added a new testcase for that.
2. This was already covered with testcase {{testAppsQueryQueue2}}.

So to summarize, I have 3 testcases now: 
1. {{testAppsQueryQueueAndStateFinished}}: Two applications, both finished, 
query with queue specified and state=finished --> the result should contain 
both applications
2. {{testAppsQueryQueueAndStateOneFinishedApp}}: Two applications, one running 
and the other finished, query with state=finished and a queue --> the result 
should contain the finished app
3. {{testAppsQueryQueueOneFinishedApp}}: Two applications, one running and the 
other finished, query with queue specified but no state --> the result should 
include both applications

> RMWebServices returns only RUNNING apps when filtered with queue
> ----------------------------------------------------------------
>
>                 Key: YARN-8659
>                 URL: https://issues.apache.org/jira/browse/YARN-8659
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.7.3
>            Reporter: Prabhu Joseph
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: Screen Shot 2018-08-13 at 8.01.29 PM.png, Screen Shot 
> 2018-08-13 at 8.01.52 PM.png, YARN-8659.001.patch
>
>
> RMWebServices returns only RUNNING apps when filtered with queue and returns 
> empty apps
> when filtered with both FINISHED states and queue.
> http://pjoseph-script-llap3.openstacklocal:8088/ws/v1/cluster/apps?queue=default
> http://pjoseph-script-llap3.openstacklocal:8088/ws/v1/cluster/apps?states=FINISHED&queue=default



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to