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

Ramesh Mani commented on RANGER-1201:
-------------------------------------

[~zhangqiang2] In HA mode RMs can be one or more and all are configured via 
zookeeper. 
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/ResourceManagerHA.html
So it would be a scalable solution if we can use RM Client APIs to find the 
ACTIVE RM and do the Lookup  / Test Connection in Ranger Yarn Plugin  than 
providing one additional config to store one  more standby RM.
https://hadoop.apache.org/docs/r2.4.1/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html
If there are no API from finding all the RMs then we can have a config to hold 
the list of RMs and then find which one is active and use it. What do you thing?

> Ranger admin support yarn HA, support standby yarn rest url configuration 
> when creating yarn service. 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1201
>                 URL: https://issues.apache.org/jira/browse/RANGER-1201
>             Project: Ranger
>          Issue Type: New Feature
>          Components: admin
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>            Priority: Minor
>              Labels: features
>         Attachments: 0001-RANGER-1201-support-yarn-HA.patch, 
> rangerYarnStandby.png
>
>   Original Estimate: 72h
>          Time Spent: 72h
>  Remaining Estimate: 0h
>
> In ranger admin, when creating yarn service, there is yarn.rest.url for yarn 
> active resourcemanger, if yarn is in HA mode, add yarn.rest.url.standby for 
> yarn standby resourcemanger, so if yarn active RM is out of service, ranger 
> admin can try yarn standby RM to 
> support autocomplete for resource names when creating policies of yarn 
> service.



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

Reply via email to