----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53980/ -----------------------------------------------------------
(Updated Dec. 13, 2016, 12:40 p.m.) Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jonathan Hurley, Sumit Mohanty, and Velmurugan Periasamy. Changes ------- Reverting the logic for UpgradeCatalog250.java and stack_advisor.py, because cluster_name key is not available under clusterData['referenceHost'] during first installation of cluster. This does not fail for UI based installation because Ranger has to be installed after cluster setup(by which time the cluster_name is available) However, this will fail at fetching the cluster_name for blue-print based installation(with config_recommendation_strategy set as ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES) where ranger-plugin is enabled. Bugs: AMBARI-18945 https://issues.apache.org/jira/browse/AMBARI-18945 Repository: ambari Description ------- Need to add a provision for creating default repository with static name or user provided name. This will help user to provided service name under Ranger supported plugins config tab and can take dump of latest snapshot of all policies and use it while recreating another/multiple clusters with same service name. Diffs (updated) ----- ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py 32e1510 ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py f47dc8f ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py d86e360 ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py e9436c1 ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py 5635fe3 ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py 4cefbda ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py c20bdde ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py 4859534 ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py 1347864 Diff: https://reviews.apache.org/r/53980/diff/ Testing ------- mvn -DskipPythonTests -Dtest=UpgradeCatalog250Test test ------------------------------------------------------- T E S T S ------------------------------------------------------- OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Running org.apache.ambari.server.upgrade.UpgradeCatalog250Test Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.548 sec - in org.apache.ambari.server.upgrade.UpgradeCatalog250Test Results : Tests run: 13, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.347 s [INFO] Finished at: 2016-11-22T11:51:23+00:00 [INFO] Final Memory: 63M/1107M [INFO] ------------------------------------------------------------------------ Thanks, Mugdha Varadkar