hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3635) Get-queue-mapping should be a common interface of YarnScheduler
Date Thu, 14 May 2015 23:28:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-3635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wangda Tan updated YARN-3635:
-----------------------------
    Attachment: YARN-3635.3.patch

Thanks [~jianhe]'s review. Uploaded ver.3 patch with modified name.

And forgot to mention that, I tried to update FairScheduler with the new interface (which
uses QueuePlacementPolicy's result). It fits in the interface quite well, but since FS depends
on a lot of mocking mechanism, needs some time to make changes in the tests, so I think it's
better to do in a separate JIRA.

[~kasha], does this make sense to you, could you take a look at latest patch?

> Get-queue-mapping should be a common interface of YarnScheduler
> ---------------------------------------------------------------
>
>                 Key: YARN-3635
>                 URL: https://issues.apache.org/jira/browse/YARN-3635
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: scheduler
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>         Attachments: YARN-3635.1.patch, YARN-3635.2.patch, YARN-3635.3.patch
>
>
> Currently, both of fair/capacity scheduler support queue mapping, which makes scheduler
can change queue of an application after submitted to scheduler.
> One issue of doing this in specific scheduler is: If the queue after mapping has different
maximum_allocation/default-node-label-expression of the original queue, {{validateAndCreateResourceRequest}}
in RMAppManager checks the wrong queue.
> I propose to make the queue mapping as a common interface of scheduler, and RMAppManager
set the queue after mapping before doing validations.



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

Mime
View raw message