----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54364/#review157985 -----------------------------------------------------------
Ship it! Ship It! - Laszlo Puskas On Dec. 5, 2016, 8:26 a.m., Sandor Magyari wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54364/ > ----------------------------------------------------------- > > (Updated Dec. 5, 2016, 8:26 a.m.) > > > Review request for Ambari, Attila Doroszlai, Laszlo Puskas, and Sebastian > Toader. > > > Bugs: AMBARI-18065 > https://issues.apache.org/jira/browse/AMBARI-18065 > > > Repository: ambari > > > Description > ------- > > When using option 'blueprint.skip_install_tasks' to skip install tasks on a > preconfigured environment, Ranger Admin start is failing due to missing > ranger db configs because Ranger db is only configured in INSTALL phase. DB > setup should be moved to configure method so that start request would setup > db as well. > > Solution: From HDP 2.6 setup ranger db could be run multiple times (will > create db, apply patches only in case doesnt's already exists), hence from > HDP 2.6 we can call setup db & java patches only from START command as in > case of other services. For HDP versions < 2.6 remains everything the same as > before setup db is called at INSTALL command. This patch doesn't affects > upgrades. > > > Diffs > ----- > > > ambari-common/src/main/python/resource_management/libraries/functions/constants.py > 3431495 > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py > e27b363 > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py > a9656c7 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json > dd87b72 > ambari-server/src/test/python/stacks/2.6/RANGER/test_ranger_admin.py > PRE-CREATION > ambari-server/src/test/python/stacks/2.6/configs/ranger-admin-default.json > PRE-CREATION > ambari-server/src/test/python/stacks/2.6/configs/ranger-admin-secured.json > PRE-CREATION > > Diff: https://reviews.apache.org/r/54364/diff/ > > > Testing > ------- > > UT in progress. > Tested manually: deploy cluster with Ranger HDP 2.5 then upgrade to HDP 2.6. > Deploy HDP 2.6 cluster with INSTALL_ONLY, START_ONLY provison actions. > > > Thanks, > > Sandor Magyari > >
