You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Qiang Zhang <zh...@zte.com.cn> on 2016/11/29 01:02:04 UTC

Review Request 54141: RANGER-1201:Ranger admin support yarn HA

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54141/
-----------------------------------------------------------

Review request for ranger and Ramesh Mani.


Bugs: RANGER-1201
    https://issues.apache.org/jira/browse/RANGER-1201


Repository: ranger


Description
-------

Solution : To improve yarn rest url configuration support the list of RMs in create yarn service page, the list of RMs can be split by ',' or ';'


Diffs
-----

  plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java 6eccdda 

Diff: https://reviews.apache.org/r/54141/diff/


Testing
-------

Test case:
1.Yarn is in HA mode, has active RM(URLA) and standby RM(URLB).
2.Ceate yarn service in ranger admin, set "URLA?URLB" or "URLA;URLB" for "YARN REST URL".
3.Kill yarn active RM process, so standby RM will be active.
4.Click "Test Connection" in create yarn service page, it should return success.
5.Then "Add new policy" for the yarn service which created above,
autocomplete for resource names can still work for configution "Queue".


Thanks,

Qiang Zhang


Re: Review Request 54141: RANGER-1201:Ranger admin support yarn HA

Posted by Ramesh Mani <rm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54141/#review160196
-----------------------------------------------------------


Ship it!




Ship It!

- Ramesh Mani


On Nov. 29, 2016, 1:02 a.m., Qiang Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54141/
> -----------------------------------------------------------
> 
> (Updated Nov. 29, 2016, 1:02 a.m.)
> 
> 
> Review request for ranger and Ramesh Mani.
> 
> 
> Bugs: RANGER-1201
>     https://issues.apache.org/jira/browse/RANGER-1201
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Solution : To improve yarn rest url configuration support the list of RMs in create yarn service page, the list of RMs can be split by ',' or ';'
> 
> 
> Diffs
> -----
> 
>   plugin-yarn/src/main/java/org/apache/ranger/services/yarn/client/YarnClient.java 6eccdda 
> 
> Diff: https://reviews.apache.org/r/54141/diff/
> 
> 
> Testing
> -------
> 
> Test case:
> 1.Yarn is in HA mode, has active RM(URLA) and standby RM(URLB).
> 2.Ceate yarn service in ranger admin, set "URLA?URLB" or "URLA;URLB" for "YARN REST URL".
> 3.Kill yarn active RM process, so standby RM will be active.
> 4.Click "Test Connection" in create yarn service page, it should return success.
> 5.Then "Add new policy" for the yarn service which created above,
> autocomplete for resource names can still work for configution "Queue".
> 
> 
> Thanks,
> 
> Qiang Zhang
> 
>