[ 
https://issues.apache.org/jira/browse/SENTRY-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei (Eddy) Xu updated SENTRY-1727:
----------------------------------
    Attachment: 
org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End-output.txt
                hmspaths-debug.patch

Attached the debug code and logs to produce this issue.

It is discovered in the process of debugging SENTRY-1713.

> 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
>             Fix For: 1.8.0, sentry-ha-redesign
>
>         Attachments: hmspaths-debug.patch, 
> org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationEnd2End-output.txt
>
>
> {{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)

Reply via email to