[
https://issues.apache.org/jira/browse/SENTRY-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628016#comment-16628016
]
Na Li commented on SENTRY-2306:
-------------------------------
[~kkalyan] another scenario is "alter table <table_name> set location". When a
table path is changes, will the partition paths change automatically, or the
partition path will be outside of the table path (therefore causes problem with
this fix).
> 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,
> SENTRY-2306.007.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)