[
https://issues.apache.org/jira/browse/SENTRY-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Hao updated SENTRY-1727:
----------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> HMSPathsDumper.cloneToEntry should set authzObjToEntries properly
> -----------------------------------------------------------------
>
> Key: SENTRY-1727
> URL: https://issues.apache.org/jira/browse/SENTRY-1727
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.8.0, sentry-ha-redesign
> Reporter: Hao Hao
> Assignee: Lei (Eddy) Xu
> Fix For: 1.8.0, sentry-ha-redesign
>
> Attachments: hmspaths-debug.patch,
> org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End-output.txt,
> SENTRY-1727.00-sentry-ha-redesign.patch
>
>
> {{HMSPathsDumper.initializeFromDump}} is trying to clone a new HMSPaths from
> TPathsDump. Internally it calls {{cloneToEntry}} to construct
> {{HMSPaths.authzObjToEntries}}, which is representation of hive authorized
> objects to path entries mapping. It appears to be {{cloneToEntry}} fail to
> properly construct {{authzObjToEntries}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)