> On Nov. 4, 2015, 6:27 p.m., Anne Yu wrote:
> > sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryAuthorizationProvider.java,
> >  line 202
> > <https://reviews.apache.org/r/39928/diff/1/?file=1115325#file1115325line202>
> >
> >     One question, will this also take care of hive.warehouse.dir? Details 
> > can be found from CDH-33778. See if we can also fix this one with the same 
> > cr. Is the configured hive.warehouse.dir also a managed object or not?

The tracking no should be ENTRY-951: move hive warehouse dir to /hive, the dir 
doesn't have hive:hive as owner.


- Anne


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


On Nov. 5, 2015, 5:38 a.m., Hao Hao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39928/
> -----------------------------------------------------------
> 
> (Updated Nov. 5, 2015, 5:38 a.m.)
> 
> 
> Review request for sentry, Anne Yu, Lenni Kuff, and Sravya Tirukkovalur.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> Paths that are sentry managed should not succesfully chmod/chown/removeACL.
> We should update setGroup/setUser/setPermission and removeAclFeature.
> 
> Old behavior:
> chmod/chown
>     if not under prefix + unmanaged: writes to hdfs.
>     if managed: writes to hdfs.
> Removing acls:
>     if not under prefix + unmanag: removes from hdfs.
>     if managed: removes from hdfs.
> 
> New behavior:
> If not under prefix: writes to/removes from hdfs.
> If else: no op.
> 
> 
> Diffs
> -----
> 
>   
> sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryAuthorizationProvider.java
>  419ab68e0d03f995c55d229b762453468de47571 
>   
> sentry-hdfs/sentry-hdfs-namenode-plugin/src/test/java/org/apache/sentry/hdfs/TestSentryAuthorizationProvider.java
>  fd5146f079d93687738a522f42beaa59031a4f82 
> 
> Diff: https://reviews.apache.org/r/39928/diff/
> 
> 
> Testing
> -------
> 
> Added several new unit tests for setPermission/setUser/setGroup/removeAcl 
> cases validation.
> 
> 
> Thanks,
> 
> Hao Hao
> 
>

Reply via email to