[ https://issues.apache.org/jira/browse/YARN-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179235#comment-14179235 ]
Maxim Ivanov commented on YARN-2448: ------------------------------------ [~vvasudev], just curious what this patch is aiming to achieve? Surely requirements of the specific application shouldn't change depending on scheduler is taking into consideration when doing its job of allocating resources. As [~kkambatl] suggested, AM can submit all it knows about resources it needs and then scheduler can safely ignore those which request which it doesn't know about > RM should expose the resource types considered during scheduling when AMs > register > ---------------------------------------------------------------------------------- > > Key: YARN-2448 > URL: https://issues.apache.org/jira/browse/YARN-2448 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Varun Vasudev > Assignee: Varun Vasudev > Fix For: 2.6.0 > > Attachments: apache-yarn-2448.0.patch, apache-yarn-2448.1.patch, > apache-yarn-2448.2.patch > > > The RM should expose the name of the ResourceCalculator being used when AMs > register, as part of the RegisterApplicationMasterResponse. > This will allow applications to make better decisions when scheduling. > MapReduce for example, only looks at memory when deciding it's scheduling, > even though the RM could potentially be using the DominantResourceCalculator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)