ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaimin Jetly" <jai...@hortonworks.com>
Subject Re: Review Request 35982: hive.security.authorization.enabled is not being handled properly during Ambari upgrade
Date Sun, 28 Jun 2015 06:13:01 GMT

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



ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java (lines
1225 - 1226)
<https://reviews.apache.org/r/35982/#comment142318>

    Even if ranger-hive-plugin-enabled property is not true meaning ranger plugin for hive
is disabled then also there is a possibility for hive.security.authorization.enabled to be
true when hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory
    
    For the following combination of configs:
    ranger-hive-plugin-enabled=false hive.security.authorization.enabled=true
    
    hive_security_authorization will be "SQLStdAuth"


- Jaimin Jetly


On June 28, 2015, 4:46 a.m., Sumit Mohanty wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35982/
> -----------------------------------------------------------
> 
> (Updated June 28, 2015, 4:46 a.m.)
> 
> 
> Review request for Ambari, Mahadev Konar and Srimanth Gunturi.
> 
> 
> Bugs: AMBARI-12189
>     https://issues.apache.org/jira/browse/AMBARI-12189
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> hive.security.authorization.enabled is not being handled properly during Ambari upgrade
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java
c485e02 
>   ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog210Test.java
495f302 
> 
> Diff: https://reviews.apache.org/r/35982/diff/
> 
> 
> Testing
> -------
> 
> Ran upgrade unit tests.
> 
> 
> Thanks,
> 
> Sumit Mohanty
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message