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/09/16 16:03:02 UTC

Review Request 38434: Ranger Hive Tests failing - deny operations

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

1\. When there are no policies configured for Hive, and if Hive Ranger plugin
is enabled, user operations should be denied.  
2\. If there is no policy configured for a specific user, that user should get
a permission denied error when trying to do any operation.

Currently, all operations are allowed

Test log: <http://qelog.hortonworks.com/log/os-d7-jexvbs-xaagents/test-
logs/XaAgents/report/html/>

\-----------------------------------------------------------------------------
---------------------------------------------  
Nightly run jenkins job : <http://linux-jenkins.qe.hortonworks.com:8080/job
/Nightly-Start-EC2-Run-HDP/10286/parameters/>

Xa database used is MySQL  
OS: Debian7

\-----------------------------------------------------------------------------
---------------------------------------------  
Issue reproduced on new cluster  
Xa database used is SQLAnywhere

Test log: <http://qelog.hortonworks.com/log/os-d7-jexvbs-xaagentsre1/test-
logs/XaAgents/report/html/>

Cluster details:

Ambari node: <http://172.22.102.6:8080>

No of testcases blocked - 34


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 52dcfbd 
  ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py 4a06c1e 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 38434: Ranger Hive Tests failing - deny operations

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

Ship it!


Ship It!

- Dmitro Lisnichenko


On Sept. 16, 2015, 2:03 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38434/
> -----------------------------------------------------------
> 
> (Updated Sept. 16, 2015, 2:03 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-13113
>     https://issues.apache.org/jira/browse/AMBARI-13113
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 1\. When there are no policies configured for Hive, and if Hive Ranger plugin
> is enabled, user operations should be denied.  
> 2\. If there is no policy configured for a specific user, that user should get
> a permission denied error when trying to do any operation.
> 
> Currently, all operations are allowed
> 
> Test log: <http://qelog.hortonworks.com/log/os-d7-jexvbs-xaagents/test-
> logs/XaAgents/report/html/>
> 
> \-----------------------------------------------------------------------------
> ---------------------------------------------  
> Nightly run jenkins job : <http://linux-jenkins.qe.hortonworks.com:8080/job
> /Nightly-Start-EC2-Run-HDP/10286/parameters/>
> 
> Xa database used is MySQL  
> OS: Debian7
> 
> \-----------------------------------------------------------------------------
> ---------------------------------------------  
> Issue reproduced on new cluster  
> Xa database used is SQLAnywhere
> 
> Test log: <http://qelog.hortonworks.com/log/os-d7-jexvbs-xaagentsre1/test-
> logs/XaAgents/report/html/>
> 
> Cluster details:
> 
> Ambari node: <http://172.22.102.6:8080>
> 
> No of testcases blocked - 34
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 52dcfbd 
>   ambari-server/src/main/resources/stacks/HDP/2.1/services/stack_advisor.py 4a06c1e 
> 
> Diff: https://reviews.apache.org/r/38434/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>