----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59414/#review176505 -----------------------------------------------------------
Can you explain what problem you are actually addressing with this fix? - Alexander Kolbasov On May 19, 2017, 6:56 p.m., Na Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59414/ > ----------------------------------------------------------- > > (Updated May 19, 2017, 6:56 p.m.) > > > Review request for sentry, Alexander Kolbasov, Hao Hao, kalyan kumar > kalvagadda, Sergio Pena, and Vamsee Yarlagadda. > > > Bugs: SENTRY-1771 > https://issues.apache.org/jira/browse/SENTRY-1771 > > > Repository: sentry > > > Description > ------- > > when curent time < wait until, return instead of sleeping. This avoid 6 > concurrent requests for full snapshot from HDFS. > Also synchronize the function SentryAuthorizationInfo.update() to make sure > requests always contain the latest changeID > > > Diffs > ----- > > > sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryAuthorizationInfo.java > 90ba721 > > > Diff: https://reviews.apache.org/r/59414/diff/1/ > > > Testing > ------- > > > Thanks, > > Na Li > >
