-----------------------------------------------------------
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

Reply via email to