-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62351/
-----------------------------------------------------------
(Updated Sept. 20, 2017, 11:38 a.m.)
Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jonathan Hurley,
Jayush Luniya, and Velmurugan Periasamy.
Changes
-------
Removed config update logic from ambari-upgrade and added it during stack
upgrade(2.6.x to 2.6.y)
Testing done:
- Test EU upgrade from 2.6.x to 2.6.y
- Unit test report:
mvn -DskipPythonTests -Drat.skip -Dtest=RangerUsersyncConfigCalculationTest test
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.ambari.server.serveraction.upgrades.RangerUsersyncConfigCalculationTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.694 s
- in
org.apache.ambari.server.serveraction.upgrades.RangerUsersyncConfigCalculationTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ ambari-server ---
[INFO] RAT will not execute since it is configured to be skipped via system
property 'rat.skip'.
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (python-test) @ ambari-server ---
[INFO] skipping execute as per configuraion
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ ambari-server ---
[INFO] Starting audit...
Audit done.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:01 min
[INFO] Finished at: 2017-09-20T10:44:09+00:00
[INFO] Final Memory: 60M/870M
[INFO] ------------------------------------------------------------------------
Bugs: AMBARI-21910
https://issues.apache.org/jira/browse/AMBARI-21910
Repository: ambari
Description
-------
As part of RANGER-1735, we are supporting nested groups in ranger usersync. For
this, introduced one new property "ranger.usersync.ldap.grouphierarchylevels".
The value should be an integer with default value as 0. This property should be
under Ranger --> Configs --> Ranger User Info --> Group Configs tab.
This property can be enabled with a flag labelled as "Sync Nested Groups".
1. Default value for this flag is "No"
2. This flag is always shown under Group Configs (even when "Enable group Sync"
is set to "No")
3. If this flag is set to "No", then the value for
ranger.usersync.ldap.grouphierarchylevels is hidden and is set to "0".
4. If this flag is set to "Yes", then ranger.usersync.ldap.grouphierarchylevels
is shown and allowed to set any integer greater than 0.
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/RangerUsersyncConfigCalculation.java
PRE-CREATION
ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-env.xml
627216e
ambari-server/src/main/resources/common-services/RANGER/0.7.0/configuration/ranger-ugsync-site.xml
a994856
ambari-server/src/main/resources/common-services/RANGER/0.7.0/themes/theme_version_5.json
8068a38
ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/nonrolling-upgrade-2.6.xml
535ac2e
ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/upgrade-2.6.xml
74271cc
ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/RangerUsersyncConfigCalculationTest.java
PRE-CREATION
Diff: https://reviews.apache.org/r/62351/diff/2/
Changes: https://reviews.apache.org/r/62351/diff/1-2/
Testing
-------
Test Fresh Installs.
Ambari upgrade with stack 2.6.
Unit Test passed for UpgradeCatalog260Test.
Thanks,
Mugdha Varadkar