[
https://issues.apache.org/jira/browse/YARN-7666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16306046#comment-16306046
]
Arun Suresh commented on YARN-7666:
-----------------------------------
Hey [~sunilg], thanks for the patch.
I think having an String -> String mapping provided by the Client is definitely
useful, but rather than hooking it all the way to the RM, lets somehow send
this mapping to the AM. And then let the AM use this mapping to negotiate some
policy with the RM (possibly via the registerAM call). This I feel has a couple
of benefits:
# ensure that Client <-> RM commmunication is restricted to just negotiating
the start of the AM and nothing more.
# We can leverage the fact that failovers require AM to re-register with the RM
- Since there is no such requirement for the Client-RM protocol, we have to
explicitly deal with persisting any user provided information, while in the
former case - we don't, since we know the AM will re-register (and any required
state will be resent and thus auto-recovered)
# We can reuse this for YARN-6592 - essentially, the Client can use some tool
to serialize and push to the AM some placementConstraints and when the AM
starts up, it can deserialize this PlacementConstraints and use it to register
with the RM.
> Introduce scheduler specific environment variable support in ASC for better
> scheduling placement configurations
> ---------------------------------------------------------------------------------------------------------------
>
> Key: YARN-7666
> URL: https://issues.apache.org/jira/browse/YARN-7666
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Sunil G
> Assignee: Sunil G
> Attachments: YARN-7666.001.patch, YARN-7666.002.patch
>
>
> Introduce a scheduler specific key-value map to hold env variables in ASC.
> And also convert AppPlacementAllocator initialization to each app based on
> policy configured at each app.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]