[
https://issues.apache.org/jira/browse/YARN-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584366#comment-13584366
]
Hitesh Shah commented on YARN-193:
----------------------------------
@Zhijie, distributedshell is an example application and therefore explains how
to write a "good" application which checks what the limits are and changes its
requests accordingly.
IMO, for applications which do not respect the limits, instead of reducing
their defined requirements to the max value, we should throw an error as we are
not sure if the app really needs that high amount of resources and whether it
will actually if we reduce that amount to the max value.
Does that make sense?
> Scheduler.normalizeRequest does not account for allocation requests that
> exceed maximumAllocation limits
> ---------------------------------------------------------------------------------------------------------
>
> Key: YARN-193
> URL: https://issues.apache.org/jira/browse/YARN-193
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 2.0.2-alpha, 3.0.0
> Reporter: Hitesh Shah
> Assignee: Hitesh Shah
> Attachments: MR-3796.1.patch, MR-3796.2.patch, MR-3796.3.patch,
> MR-3796.wip.patch, YARN-193.4.patch, YARN-193.5.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira