ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alok Lal" <a...@hortonworks.com>
Subject Re: Review Request 41067: Hive plugin: Update Ranger authorizer to mimic changes made by Hive standard authorizer for the case when IMPORT can end up creating a table
Date Tue, 08 Dec 2015 05:28:18 GMT

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



hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
(line 656)
<https://reviews.apache.org/r/41067/#comment168750>

    Good point.  Will do, thanks!


- Alok Lal


On Dec. 7, 2015, 5:39 p.m., Alok Lal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41067/
> -----------------------------------------------------------
> 
> (Updated Dec. 7, 2015, 5:39 p.m.)
> 
> 
> Review request for ranger and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-772
>     https://issues.apache.org/jira/browse/RANGER-772
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> IMPORT table should authorize database level create privilage if IMPORT can lead to table
creation.
> 
> 
> Diffs
> -----
> 
>   hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java
7aaf8a1 
> 
> Diff: https://reviews.apache.org/r/41067/diff/
> 
> 
> Testing
> -------
> 
> Tested following scenarios:
> 1. IMPORT from 'hdfs/path': happy path
> 2. IMPORT TABLE table1 FROM 'hdfs/path' : import with table rename
> 3. Same as #1 when target table does not exist.
> 4. Same as #2 when target table does not exist.
> 5. IMPORT EXTERNAL TABLE table1 FROM 'hdfs/path': happy path for external tables
> 6. Same as above but table name is different from that _metadata file (rename)
> 
> 
> Thanks,
> 
> Alok Lal
> 
>


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