You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Gautam Borad <gb...@gmail.com> on 2015/05/27 16:23:34 UTC

Review Request 34708: AMBARI-11426 Property enhancements and other fixes for Ranger

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34708/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez, Aleksandr Kovalenko, Andrew Onischuk, Selvamohan Neethiraj, and Velmurugan Periasamy.


Bugs: AMBARI-11426
    https://issues.apache.org/jira/browse/AMBARI-11426


Repository: ambari


Description
-------

1) Improve REST call to fetch exact user details
2) Take care of '-' and blank on ranger properties
3) For Knox plugins, ranger.plugin.knox.policy.source.impl should be set to org.apache.ranger.admin.client.RangerAdminJersey2RESTClient
4) We should disable audit to solr till it is properly configured in RangerAdmin
5) restart indicator
6) chown rights issue for ranger jceks file when solr audit is enabled


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py 63e5df1 
  ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py da05773 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml 1032024 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml e5f0114 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml e12935d 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml 9f58e92 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml 5d49298 
  ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml 9f5aa6c 
  ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py d8dc390 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml bb14a27 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml 8b8d2f7 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml 89faba4 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml 6115ef7 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml 4ea10b5 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml 767976e 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml bd438df 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml 22974e5 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml 3fca5a6 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml a375980 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml 9ed8941 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml 020c2b1 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml cdcae2b 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml 53f475c 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml 74e7742 
  ambari-web/app/data/HDP2.2/site_properties.js f97f547 
  ambari-web/app/data/HDP2.3/site_properties.js c82f847 

Diff: https://reviews.apache.org/r/34708/diff/


Testing
-------

Tested on centos 6 with Ranger

Ran 234 tests in 7.437s

OK
----------------------------------------------------------------------
Total run:743
Total errors:0
Total failures:0
OK


Thanks,

Gautam Borad


Re: Review Request 34708: AMBARI-11426 Property enhancements and other fixes for Ranger

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34708/#review85362
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On May 27, 2015, 2:23 p.m., Gautam Borad wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34708/
> -----------------------------------------------------------
> 
> (Updated May 27, 2015, 2:23 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Aleksandr Kovalenko, Andrew Onischuk, Selvamohan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: AMBARI-11426
>     https://issues.apache.org/jira/browse/AMBARI-11426
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 1) Improve REST call to fetch exact user details
> 2) Take care of '-' and blank on ranger properties
> 3) For Knox plugins, ranger.plugin.knox.policy.source.impl should be set to org.apache.ranger.admin.client.RangerAdminJersey2RESTClient
> 4) We should disable audit to solr till it is properly configured in RangerAdmin
> 5) restart indicator
> 6) chown rights issue for ranger jceks file when solr audit is enabled
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions.py 63e5df1 
>   ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py da05773 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/metainfo.xml 1032024 
>   ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml e5f0114 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml e12935d 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml 9f58e92 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/metainfo.xml 5d49298 
>   ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml 9f5aa6c 
>   ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py d8dc390 
>   ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/metainfo.xml bb14a27 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/metainfo.xml 8b8d2f7 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/configuration/ranger-hbase-plugin-properties.xml 89faba4 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/ranger-hdfs-plugin-properties.xml 6115ef7 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/ranger-hive-plugin-properties.xml 4ea10b5 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml 767976e 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/configuration/ranger-hbase-audit.xml bd438df 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/ranger-hdfs-audit.xml 22974e5 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/configuration/ranger-hive-audit.xml 3fca5a6 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-audit.xml a375980 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/KNOX/configuration/ranger-knox-security.xml 9ed8941 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml 020c2b1 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/STORM/configuration/ranger-storm-audit.xml cdcae2b 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-audit.xml 53f475c 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/configuration/ranger-yarn-plugin-properties.xml 74e7742 
>   ambari-web/app/data/HDP2.2/site_properties.js f97f547 
>   ambari-web/app/data/HDP2.3/site_properties.js c82f847 
> 
> Diff: https://reviews.apache.org/r/34708/diff/
> 
> 
> Testing
> -------
> 
> Tested on centos 6 with Ranger
> 
> Ran 234 tests in 7.437s
> 
> OK
> ----------------------------------------------------------------------
> Total run:743
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Gautam Borad
> 
>