[
https://issues.apache.org/jira/browse/SENTRY-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16626091#comment-16626091
]
Na Li commented on SENTRY-2306:
-------------------------------
[~kkalyan] I just don't want to have scenarios where we assume the partition
path is there, but not, and then throw exception in some commands.
for example, can you check if we ignore the partition path in default path, and
then someone change path of the partition to be outside of the default path,
will notification processing throw exception because the old partition path is
not in DB?
> Reduce the HMS snapshot size by ignoring partitions at default locations
> ------------------------------------------------------------------------
>
> Key: SENTRY-2306
> URL: https://issues.apache.org/jira/browse/SENTRY-2306
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Assignee: kalyan kumar kalvagadda
> Priority: Major
> Attachments: SENTRY-2306.001.patch, SENTRY-2306.002.patch
>
>
> Ignore the partitions entries which are located in default location as they
> share the same permissions as the table. This will reduce the snapshot size
> decreasing the time to persist the snapshot and also time to send the full
> update to Namenode. This is important as the partition information has lion’s
> share in a HMS Full snapshot.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)