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

Hadoop QA commented on SENTRY-2046:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12898525/SENTRY-2046.01.patch 
against master.

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

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

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

This message is automatically generated.

> Create a full snapshot if AUTHZ_PATHS_SNAPSHOT_ID is empty, even if HMS and 
> Sentry Notifications are in sync
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-2046
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2046
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Arjun Mishra
>            Assignee: Arjun Mishra
>              Labels: bite-sized, mewbi
>         Attachments: SENTRY-2046.01.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to