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

(Updated εδΈ€ζœˆ 18, 2016, 7:41 a.m.)


Review request for ranger, Don Bosco Durai, Madhan Neethiraj, Ramesh Mani, and 
Velmurugan Periasamy.


Changes
-------

Change the code to have a config to hold the list of RMs and then find which 
one is active 
and use it for the Lookup / Test Connection in Ranger.


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


Repository: ranger


Description (updated)
-------

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 (updated)
-----

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

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


Testing (updated)
-------

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

Reply via email to