----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69596/#review211654 -----------------------------------------------------------
sentry-service/sentry-service-server/src/main/java/org/apache/sentry/service/thrift/SentryKerberosContext.java Line 47 (original), 46 (patched) <https://reviews.apache.org/r/69596/#comment297097> I'm fine with that change. sentry-service/sentry-service-server/src/main/java/org/apache/sentry/service/thrift/SentryKerberosContext.java Line 148 (original), 132 (patched) <https://reviews.apache.org/r/69596/#comment297098> If I use ScheduledExecutorService as discussed above, I can use a named thread again. - Haley Reeve On Dec. 19, 2018, 5:25 p.m., Haley Reeve wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/69596/ > ----------------------------------------------------------- > > (Updated Dec. 19, 2018, 5:25 p.m.) > > > Review request for sentry, Arjun Mishra, kalyan kumar kalvagadda, Na Li, and > Sergio Pena. > > > Bugs: SENTRY-1797 > https://issues.apache.org/jira/browse/SENTRY-1797 > > > Repository: sentry > > > Description > ------- > > The SentryKerberosContext class tries to simulate periodic executor using > while loop with a sleep in the run() method. Instead it should use periodic > executor. > > > Diffs > ----- > > > sentry-service/sentry-service-server/src/main/java/org/apache/sentry/service/thrift/SentryKerberosContext.java > efb8ae6 > > > Diff: https://reviews.apache.org/r/69596/diff/1/ > > > Testing > ------- > > Ran unit tests. > > > Thanks, > > Haley Reeve > >