----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51906/ -----------------------------------------------------------
(Updated Sept. 16, 2016, 4:57 p.m.) Review request for Ambari, Balázs Bence Sári, Jayush Luniya, Sumit Mohanty, and Sebastian Toader. Changes ------- * Extracted dir creation to a separate method * Replaced `has_namenode` condition with `default_fs` check * Add `"execute"` call (needed for the case when WebHDFS is disabled) * Also added `"execute"` call to `service_check.py` Bugs: AMBARI-18349 https://issues.apache.org/jira/browse/AMBARI-18349 Repository: ambari Description ------- A. Add `role_command_order.json` to make sure name node, node manager, resource manager are started before running Microsoft R service check B. Create `/user/RevoShare` on HDFS if necessary when starting services Diffs (updated) ----- ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py ba9c8fb contrib/management-packs/microsoft-r_mpack/src/main/resources/common-services/MICROSOFT_R/8.0.0/package/scripts/service_check.py 547476b contrib/management-packs/microsoft-r_mpack/src/main/resources/common-services/MICROSOFT_R/8.0.0/role_command_order.json PRE-CREATION Diff: https://reviews.apache.org/r/51906/diff/ Testing ------- A. Role command order 1. Install Ambari (trunk), add Microsoft R mpack, start Ambari 2. Create cluster via web UI with HDFS, YARN, ZooKeeper, Microsoft R 3. Verify name node, node manager, resource manager, data node are started before Microsoft R service check 4. Verify stage_id for NAMENODE-START, NODEMANAGER-START, RESOURCEMANAGER-START are smaller than stage_id for MICROSOFT_R_SERVICE_CHECK-SERVICE_CHECK: ``` select request_id, stage_id, task_id, role, role_command from host_role_command order by request_id, stage_id, task_id; ``` B. RevoShare 1. Install Ambari (trunk), add Microsoft R mpack, start Ambari 2. Create cluster via blueprint with HDFS, YARN, ZooKeeper, Microsoft R 3. Verify `/user/RevoShare` directory exists: `hdfs dfs -ls /user/` Thanks, Attila Doroszlai