You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/04/27 03:34:04 UTC

[jira] [Commented] (SENTRY-1727) HMSPathsDumper.cloneToEntry should set authzObjToEntries properly

    [ https://issues.apache.org/jira/browse/SENTRY-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985936#comment-15985936 ] 

Hadoop QA commented on SENTRY-1727:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12865244/SENTRY-1727.00-sentry-ha-redesign.patch against sentry-ha-redesign.

{color:red}Overall:{color} -1 due to 3 errors

{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed: org.apache.sentry.provider.db.service.persistent.TestSentryStore
{color:red}ERROR:{color} Failed: org.apache.sentry.provider.db.service.persistent.TestSentryStore

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/2579/console

This message is automatically generated.

> 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)