hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-807) When querying apps by queue, iterating over all apps is inefficient and limiting
Date Sat, 09 Nov 2013 03:38:18 GMT

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

Hadoop QA commented on YARN-807:
--------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12612967/YARN-807-1.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 2 new or modified
test files.

    {color:red}-1 javac{color:red}.  The patch appears to cause the build to fail.

Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2400//console

This message is automatically generated.

> When querying apps by queue, iterating over all apps is inefficient and limiting 
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-807
>                 URL: https://issues.apache.org/jira/browse/YARN-807
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.0.4-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: YARN-807-1.patch, YARN-807.patch
>
>
> The question "which apps are in queue x" can be asked via the RM REST APIs, through the
ClientRMService, and through the command line.  In all these cases, the question is answered
by scanning through every RMApp and filtering by the app's queue name.
> All schedulers maintain a mapping of queues to applications.  I think it would make more
sense to ask the schedulers which applications are in a given queue. This is what was done
in MR1. This would also have the advantage of allowing a parent queue to return all the applications
on leaf queues under it, and allow queue name aliases, as in the way that "root.default" and
"default" refer to the same queue in the fair scheduler.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message