> On Feb. 18, 2018, 5:29 a.m., Alexander Kolbasov wrote:
> > sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentrySyncHMSNotificationsPostEventListener.java
> > Line 96 (original), 96 (patched)
> > <https://reviews.apache.org/r/65704/diff/1/?file=1962380#file1962380line96>
> >
> >     This is Ok, but probably an overkill - we only need to sync table 
> > renames, so you may check that thist ALTER TABLE actually renames table (or 
> > database) and only sync in these cases.
> 
> Na Li wrote:
>     For adding column, should we wait as well since privilege can be on 
> column? If we only wait for rename, we still have issues

Possibly - it would be useful to see what are things that can happen in ALTER 
TABLE and see which ones need synchronization and which don't. Synchronization 
is expensive, so it is better to avoid it unless really necessary.


- Alexander


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


On Feb. 18, 2018, 5:25 a.m., Na Li wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65704/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2018, 5:25 a.m.)
> 
> 
> Review request for sentry, Alexander Kolbasov, kalyan kumar kalvagadda, and 
> Sergio Pena.
> 
> 
> Repository: sentry
> 
> 
> Description
> -------
> 
> wait for HMS sync at alter table, which including table rename and changing 
> table columns
> 
> 
> Diffs
> -----
> 
>   
> sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentrySyncHMSNotificationsPostEventListener.java
>  24d7763 
> 
> 
> Diff: https://reviews.apache.org/r/65704/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Na Li
> 
>

Reply via email to