You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/04/28 14:38:26 UTC

Review Request 33626: Knox, Storm Ranger plugins fails to install with non-root agent

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

STR:  
For Hive:  
1\. Run agent as non-root  
2\. Enable ranger Hive plugin  
3\. Restart Hiveserver2  
4\. It fails with Permission denied

For Storm:  
1\. Run agent as non-root  
2\. Enable security  
3\. Enable ranger Storm plugin  
3\. Restart Nimbus  
4\. It fails with Permission denied


Diffs
-----

  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py d98c30a 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml 1d70ec2 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params.py 344dae9 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py f96140b 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py 845cab2 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/setup_ranger_storm.py 2c837cd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml 1bc89e6 
  ambari-server/src/test/python/stacks/2.1/configs/default-storm-start.json 28692e5 
  ambari-server/src/test/python/stacks/2.1/configs/default.json 722c402 
  ambari-server/src/test/python/stacks/2.1/configs/secured-storm-start.json 5798366 
  ambari-server/src/test/python/stacks/2.1/configs/secured.json 6fc5540 
  ambari-server/src/test/python/stacks/2.2/configs/default.json c67eda4 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 33626: Knox, Storm Ranger plugins fails to install with non-root agent

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33626/#review81808
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On April 28, 2015, 12:38 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33626/
> -----------------------------------------------------------
> 
> (Updated April 28, 2015, 12:38 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-10787
>     https://issues.apache.org/jira/browse/AMBARI-10787
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:  
> For Hive:  
> 1\. Run agent as non-root  
> 2\. Enable ranger Hive plugin  
> 3\. Restart Hiveserver2  
> 4\. It fails with Permission denied
> 
> For Storm:  
> 1\. Run agent as non-root  
> 2\. Enable security  
> 3\. Enable ranger Storm plugin  
> 3\. Restart Nimbus  
> 4\. It fails with Permission denied
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py d98c30a 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/configuration/ranger-knox-plugin-properties.xml 1d70ec2 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params.py 344dae9 
>   ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/setup_ranger_knox.py f96140b 
>   ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py 845cab2 
>   ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/setup_ranger_storm.py 2c837cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/STORM/configuration/ranger-storm-plugin-properties.xml 1bc89e6 
>   ambari-server/src/test/python/stacks/2.1/configs/default-storm-start.json 28692e5 
>   ambari-server/src/test/python/stacks/2.1/configs/default.json 722c402 
>   ambari-server/src/test/python/stacks/2.1/configs/secured-storm-start.json 5798366 
>   ambari-server/src/test/python/stacks/2.1/configs/secured.json 6fc5540 
>   ambari-server/src/test/python/stacks/2.2/configs/default.json c67eda4 
> 
> Diff: https://reviews.apache.org/r/33626/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>