Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
AUTHZ_PATHS_SNAPSHOT_ID is only populated when a full HMS snapshot is persisted. When initially HDFS Sync is disabled, we will create a full snapshot but never persist it, and at the same time populate SENTRY_HMS_NOTIFICATION_ID table. Later when HDFS sync is enabled, a full snapshot will not occur unless until HMS and Sentry are out of sync. This will result in ACL's not being applied unless until HMS and Sentry are out of sync, since we only send NN snapshots if AUTHZ_PATHS_SNAPSHOT_ID has values greater than 0
We should create a full snapshot if hdfsSync is enabled, and AUTHZ_PATHS_SNAPSHOT_ID is empty
Attachments
Attachments
Issue Links
- links to