You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Vishal Suvagia <vi...@yahoo.com> on 2017/01/04 13:44:10 UTC

Review Request 55174: Ranger policies not syncing for storm, kafka and knox

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

Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jaimin Jetly, Jayush Luniya, Mugdha Varadkar, Oliver Szabo, and Velmurugan Periasamy.


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


Repository: ambari


Description
-------

On enabling Namenode-HA, and One-way SSL for Ranger, plugins are not able to fetch latest policies as authorization does not work for Storm, knox and Kafka plugins.

Solution : Need to reate a core-site.xml for Storm, Knox and Kafka under respective classpath when Ranger plugins are enabled and Namenode-HA is enabled under kerberos.


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/constants.py a352f71 
  ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py 537aaa0 
  ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py 3a9f51e 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py d4eb6b9 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py 67d5769 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/setup_ranger_storm.py caafd55 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json b94d376 

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


Testing
-------

Verified install on cent-os 6.


Thanks,

Vishal Suvagia


Re: Review Request 55174: AMBARI-19360 : Ranger policies not syncing for storm, kafka and knox

Posted by Vishal Suvagia <vi...@yahoo.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55174/
-----------------------------------------------------------

(Updated Jan. 11, 2017, 7:18 a.m.)


Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jaimin Jetly, Jayush Luniya, Mugdha Varadkar, Oliver Szabo, and Velmurugan Periasamy.


Changes
-------

correcting actual Ambari JIRA in summary.


Summary (updated)
-----------------

 AMBARI-19360 : Ranger policies not syncing for storm, kafka and knox


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


Repository: ambari


Description
-------

On enabling Namenode-HA, and One-way SSL for Ranger, plugins are not able to fetch latest policies as authorization does not work for Storm, knox and Kafka plugins.

Solution : Need to reate a core-site.xml for Storm, Knox and Kafka under respective classpath when Ranger plugins are enabled and Namenode-HA is enabled under kerberos.


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/constants.py a352f71 
  ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py 537aaa0 
  ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py 41970f8 
  ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py 3a9f51e 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py 8416e98 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py d4eb6b9 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py 67d5769 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/setup_ranger_storm.py caafd55 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json b94d376 

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


Testing
-------

Verified install on cent-os 6.


Thanks,

Vishal Suvagia


Re: Review Request 55174: AMBARI-19288 : Ranger policies not syncing for storm, kafka and knox

Posted by Mugdha Varadkar <mu...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55174/#review161055
-----------------------------------------------------------


Ship it!




Ship It!

- Mugdha Varadkar


On Jan. 9, 2017, 3:12 p.m., Vishal Suvagia wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55174/
> -----------------------------------------------------------
> 
> (Updated Jan. 9, 2017, 3:12 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jaimin Jetly, Jayush Luniya, Mugdha Varadkar, Oliver Szabo, and Velmurugan Periasamy.
> 
> 
> Bugs: AMBARI-19360
>     https://issues.apache.org/jira/browse/AMBARI-19360
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> On enabling Namenode-HA, and One-way SSL for Ranger, plugins are not able to fetch latest policies as authorization does not work for Storm, knox and Kafka plugins.
> 
> Solution : Need to reate a core-site.xml for Storm, Knox and Kafka under respective classpath when Ranger plugins are enabled and Namenode-HA is enabled under kerberos.
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/libraries/functions/constants.py a352f71 
>   ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py 537aaa0 
>   ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py 41970f8 
>   ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py 3a9f51e 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py 8416e98 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py d4eb6b9 
>   ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py 67d5769 
>   ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/setup_ranger_storm.py caafd55 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json b94d376 
> 
> Diff: https://reviews.apache.org/r/55174/diff/
> 
> 
> Testing
> -------
> 
> Verified install on cent-os 6.
> 
> 
> Thanks,
> 
> Vishal Suvagia
> 
>


Re: Review Request 55174: AMBARI-19288 : Ranger policies not syncing for storm, kafka and knox

Posted by Vishal Suvagia <vi...@yahoo.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55174/
-----------------------------------------------------------

(Updated Jan. 9, 2017, 3:12 p.m.)


Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jaimin Jetly, Jayush Luniya, Mugdha Varadkar, Oliver Szabo, and Velmurugan Periasamy.


Changes
-------

rearranging code to keep code changes in local files as per component and other variables to minimum


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


Repository: ambari


Description
-------

On enabling Namenode-HA, and One-way SSL for Ranger, plugins are not able to fetch latest policies as authorization does not work for Storm, knox and Kafka plugins.

Solution : Need to reate a core-site.xml for Storm, Knox and Kafka under respective classpath when Ranger plugins are enabled and Namenode-HA is enabled under kerberos.


Diffs (updated)
-----

  ambari-common/src/main/python/resource_management/libraries/functions/constants.py a352f71 
  ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py 537aaa0 
  ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/params.py 41970f8 
  ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py 3a9f51e 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_linux.py 8416e98 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py d4eb6b9 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py 67d5769 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/setup_ranger_storm.py caafd55 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json b94d376 

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


Testing
-------

Verified install on cent-os 6.


Thanks,

Vishal Suvagia


Re: Review Request 55174: AMBARI-19288 : Ranger policies not syncing for storm, kafka and knox

Posted by Vishal Suvagia <vi...@yahoo.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55174/
-----------------------------------------------------------

(Updated Jan. 5, 2017, 1:24 p.m.)


Review request for Ambari, Alejandro Fernandez, Gautam Borad, Jaimin Jetly, Jayush Luniya, Mugdha Varadkar, Oliver Szabo, and Velmurugan Periasamy.


Changes
-------

added branches required for the fix


Summary (updated)
-----------------

AMBARI-19288 : Ranger policies not syncing for storm, kafka and knox


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


Repository: ambari


Description
-------

On enabling Namenode-HA, and One-way SSL for Ranger, plugins are not able to fetch latest policies as authorization does not work for Storm, knox and Kafka plugins.

Solution : Need to reate a core-site.xml for Storm, Knox and Kafka under respective classpath when Ranger plugins are enabled and Namenode-HA is enabled under kerberos.


Diffs
-----

  ambari-common/src/main/python/resource_management/libraries/functions/constants.py a352f71 
  ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py 537aaa0 
  ambari-server/src/main/resources/common-services/KAFKA/0.8.1/package/scripts/setup_ranger_kafka.py 3a9f51e 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py d4eb6b9 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py 67d5769 
  ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/setup_ranger_storm.py caafd55 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json b94d376 

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


Testing
-------

Verified install on cent-os 6.


Thanks,

Vishal Suvagia