----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/29474/#review68871 -----------------------------------------------------------
Ship it! Ship It! - Yusaku Sako On Jan. 20, 2015, 6:52 p.m., Gautam Borad wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/29474/ > ----------------------------------------------------------- > > (Updated Jan. 20, 2015, 6:52 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Jaimin > Jetly, Velmurugan Periasamy, and Yusaku Sako. > > > Bugs: AMBARI-8949 > https://issues.apache.org/jira/browse/AMBARI-8949 > > > Repository: ambari > > > Description > ------- > > Add Ranger support to Ambari for Installation/Management/Monitoring. > > Supports of the following Ranger components: > 1] Ranger Admin > 2] Ranger User Sync > 3] Ranger Plugins ( currently HDFS, Hive, HBase, Knox, Storm) > > > Diffs > ----- > > > ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml > 18572ef > > ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py > c9da84a > > ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py > 443c56c > > ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params.py > ace3901 > > ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/setup_ranger_hbase.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml > ab7c95c > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py > 83f34bc > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py > a4a0d3d > > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/setup_ranger_hdfs.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml > db48936 > > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server.py > 906cc24 > > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params.py > 00bada8 > > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/setup_ranger_hive.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml > PRE-CREATION > > ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml > ce4448f > > ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/knox_gateway.py > 7e5fe13 > > ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params.py > 938d1d7 > > ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/admin-properties.xml > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/ranger-env.xml > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml > PRE-CREATION > ambari-server/src/main/resources/common-services/RANGER/0.4.0/metainfo.xml > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/ranger_usersync.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/service_check.py > PRE-CREATION > > ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py > PRE-CREATION > ambari-server/src/main/resources/stacks/HDP/2.2/role_command_order.json > e62cda2 > > ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml > PRE-CREATION > > ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml > PRE-CREATION > > ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml > PRE-CREATION > > ambari-server/src/main/resources/stacks/HDP/2.2/services/RANGER/metainfo.xml > PRE-CREATION > ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py > 05ad18b > ambari-server/src/test/python/stacks/2.0.6/configs/client-upgrade.json > 05aba97 > ambari-server/src/test/python/stacks/2.0.6/configs/default.json 2be60b6 > ambari-server/src/test/python/stacks/2.0.6/configs/default_client.json > 8e643de > ambari-server/src/test/python/stacks/2.0.6/configs/ha_default.json 253747a > ambari-server/src/test/python/stacks/2.0.6/configs/hbase-2.2.json 8e6b3d4 > ambari-server/src/test/python/stacks/2.0.6/configs/hbase-check-2.2.json > 410e70e > ambari-server/src/test/python/stacks/2.0.6/configs/hbase-preupgrade.json > ee46527 > ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2.json > 89face6 > ambari-server/src/test/python/stacks/2.0.6/configs/secured.json 119ab88 > ambari-server/src/test/python/stacks/2.0.6/configs/secured_client.json > 4faf0f8 > ambari-server/src/test/python/stacks/2.2/common/test_stack_advisor.py > 2b8ce44 > ambari-server/src/test/python/stacks/2.2/configs/default.json 15ffb66 > ambari-server/src/test/python/stacks/2.2/configs/hive-upgrade.json 35aedc0 > ambari-web/app/config.js 8beba79 > > Diff: https://reviews.apache.org/r/29474/diff/ > > > Testing > ------- > > Performed the following steps to integrate Ranger : > > Ranger Admin & Ranger User Sync > ------------------------------- > 1] Add Ranger related files under > /var/lib/ambari-server/resources/common-services/RANGER/0.4.0/ > 2] Add the right path in file > /var/lib/ambari-server/resources/stacks/HDP/2.2/services/RANGER/metainfo.xml > 3] Add the same path in file > /var/lib/ambari-agent/cache/stacks/HDP/2.2/services/RANGER/metainfo.xml > 4] Restart Ambari Server > 5] Ranger service was available on Ambari UI. > > > Ranger Plugins > -------------- > Same set of steps did not work for Ranger Plugins. To resolve the same, we > had to add the changes in stacks of each component to ambari-server and > ambari-agents cache folders [This part is not included in this attached > patch]. > > > Thanks, > > Gautam Borad > >
