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] [Commented] (YARN-4418) AM Resource Limit per partition can be updated to ResourceUsage as well
Date Mon, 07 Dec 2015 19:28:11 GMT

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

Wangda Tan commented on YARN-4418:
----------------------------------

[~sunilg],

I'm not sure if we need to update am limit when called by REST API.
- getAMResourceLimitPerPartition has set AMLimit
- activateApplications will be called when doing updateClusterResource
- updateClusterResource will be called when resource of the cluster updated OR queue reinitialized
- AMResourceLimit will be changed only when resource the the cluster updated OR queue reinitialized

So I think getAMResourceLimit should always up-to-date and changes of CapacitySchedulerLeafQueueInfo
should be reverted.

Thoughts?

> AM Resource Limit per partition can be updated to ResourceUsage as well
> -----------------------------------------------------------------------
>
>                 Key: YARN-4418
>                 URL: https://issues.apache.org/jira/browse/YARN-4418
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.7.1
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: 0001-YARN-4418.patch, 0002-YARN-4418.patch
>
>
> AMResourceLimit is now extended to all partitions after YARN-3216. Its also better to
track this ResourceLimit in existing {{ResourceUsage}} so that REST framework can be benefited
to avail this information easily. 



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

Mime
View raw message