[ https://issues.apache.org/jira/browse/SENTRY-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hao Hao updated SENTRY-1566: ---------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Make full Perm/Path snapshot available for NN plugin > ---------------------------------------------------- > > Key: SENTRY-1566 > URL: https://issues.apache.org/jira/browse/SENTRY-1566 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin > Reporter: Hao Hao > Assignee: Hao Hao > Labels: hdfs-sync > Fix For: sentry-ha-redesign > > Attachments: SENTRY-1566.001-sentry-ha-redesign.patch, > SENTRY-1566.002-sentry-ha-redesign.patch, > SENTRY-1566.003-sentry-ha-redesign.patch > > > Read full permission and path snapshot from SentryDB and make the update > available for NN plugin upon requests. In detail: > * Added Path/PermissionImage classes to represent corresponding > Path/Permission snapshot read from DB. > * Refactor full snapshot retriever APIs in SentryStore to become a single > transaction to ensure snapshot consistency. > * Added Path/PermissionImageRetriever classes to retrieve > Path/PermissionImage from DB and convert to corresponding > Path/PermissionUpdate, which later would be consumed by NN plugin. -- This message was sent by Atlassian JIRA (v6.3.15#6346)