[
https://issues.apache.org/jira/browse/YARN-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773872#comment-13773872
]
Karthik Kambatla commented on YARN-1068:
----------------------------------------
bq. The client side code should probably be invoked via RMProxy like the other
protocols are accessed today. In a failover setup the following may not be
valid.
I have updated the patch to fetch the InetSocketAddress from
ClientRMProxy#getRMAddress. Not using ClientRMProxy#createProxy because we want
the HA related admin calls to go to the intended RM irrespective of whether it
is active or not.
I think YARN-1028 (ConfiguredFailoverProxy) should update this if need be,
along with other changes it makes.
> Add admin support for HA operations
> -----------------------------------
>
> Key: YARN-1068
> URL: https://issues.apache.org/jira/browse/YARN-1068
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: 2.1.0-beta
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Labels: ha
> Attachments: yarn-1068-1.patch, yarn-1068-2.patch, yarn-1068-3.patch,
> yarn-1068-4.patch, yarn-1068-5.patch, yarn-1068-prelim.patch
>
>
> Support HA admin operations to facilitate transitioning the RM to Active and
> Standby states.
--
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