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

Alexander Kolbasov commented on SENTRY-1916:
--------------------------------------------

[~vamsee] Fair point, my fix does require a new full HMS snapshot when managed 
paths change. I reimplemented the fix to simulate old behaviour when we just 
filter results when we send them from Sentry to NN. This should still save some 
memory when we construct the object and serialize it.

> Sentry should not store paths outside of the prefix
> ---------------------------------------------------
>
>                 Key: SENTRY-1916
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1916
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Alexander Kolbasov
>         Attachments: SENTRY-1916.01.patch
>
>
> Before Sentry 2.0 we were only sending paths which were inside Hive prefix to 
> HDFS. With Sentry HA we changed that and store all paths. This significantly 
> increases the amount of memory when there are many external tables.
> [~vamsee] [~spena] [[email protected]] [~hahao] [[email protected]] 
> [~mcrocker] FYI



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

Reply via email to