sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-2046) Create a full snapshot if AUTHZ_PATHS_SNAPSHOT_ID is empty, even if HMS and Sentry Notifications are in sync
Date Tue, 21 Nov 2017 17:03:00 GMT

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

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

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

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} all tests passed

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/3503/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, SENTRY-2046.02.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)

Mime
View raw message