> On April 14, 2017, 7:04 p.m., kalyan kumar kalvagadda wrote: > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/SentryService.java > > Lines 222 (patched) > > <https://reviews.apache.org/r/58221/diff/10/?file=1692735#file1692735line250> > > > > I feel we should start call startHMSFollower at the end of runServer > > function. If there are no issues in starting the sentry service, we can > > start HMSFolloeer at the end. > > Na Li wrote: > The original code to start HMSFollower is in constructor. When I move it > to runServer(), putting it at the beginning is the closest approach to the > original in terms of the ordering. I am not familar with the system, and > moving it to the end of runServer() may cause some unknown problems. > > Na Li wrote: > I will move it to the end of runServer() > > Na Li wrote: > there is regression and test > org.apache.sentry.tests.e2e.metastore.TestDbNotificationListenerSentryDeserializer.testAlterPartition > failed after moving the function to the end of runServer(). So I move it > back to the beginning of runServer(). > > Alexander Kolbasov wrote: > Why do you think that it is better to start HMSFollower in the end?
I think it should be fine - kalyan kumar ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58221/#review172013 ----------------------------------------------------------- On May 4, 2017, 5:48 a.m., Na Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58221/ > ----------------------------------------------------------- > > (Updated May 4, 2017, 5:48 a.m.) > > > Review request for sentry, Alexander Kolbasov, Hao Hao, kalyan kumar > kalvagadda, and Sergio Pena. > > > Repository: sentry > > > Description > ------- > > SENTRY-1649 move HMS follower to runServer > > > Diffs > ----- > > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/HMSFollower.java > ec8676e > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/SentryService.java > 132db63 > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/SentryServiceUtil.java > ce73358 > > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/service/thrift/ServiceConstants.java > 834ed41 > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hdfs/TestHDFSIntegrationEnd2End.java > 1ace07c > > > Diff: https://reviews.apache.org/r/58221/diff/24/ > > > Testing > ------- > > > Thanks, > > Na Li > >
