Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
-
None
Description
SENTRY-1508 performs full Sentry HDFS sync at the construction time. Turns out, it does not work with Kerberos on, because the Hive code initialized Kerberos client only AFTER instantiating MetastorePlugin. Fix is pretty straightforward: MetastorePlugin should not attempt synchronization with Sentry from the constructor. It should rely on the housekeeping thread's SyncTask to ultimately succeed in pushing the first full update. The subtle point is that until it happens, all partial updates going through MetastorePlugin should skip Sentry notification step while keeping updating the MetastorePlugin's local cache as usual.
Attachments
Attachments
Issue Links
- relates to
-
SENTRY-1831 The MetastorePlugin SyncTask is leaking connection threads when read timed out issues are thrown
- Resolved
- links to