You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2017/06/17 01:08:00 UTC
[jira] [Commented] (SENTRY-1806) Improve memory handling for HDFS
sync
[ https://issues.apache.org/jira/browse/SENTRY-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16052611#comment-16052611 ]
Alexander Kolbasov commented on SENTRY-1806:
--------------------------------------------
The patch addresses several aread:
1) Convert linked lists to ArrayList
2) Specify the size of the list whenever posisble
3) Use static empty lists and singletons whenever possible
> Improve memory handling for HDFS sync
> -------------------------------------
>
> Key: SENTRY-1806
> URL: https://issues.apache.org/jira/browse/SENTRY-1806
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 1.8.0, sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: Alexander Kolbasov
> Fix For: sentry-ha-redesign
>
> Attachments: SENTRY-1806-01-sentry-ha-redesign.patch
>
>
> The SentryHDFSServiceClientDefaultImpl uses linked lists to represent updates. INstead it should use ArrayList for delta update and singleton for full updates. This will improve memory usage on the HDFS side.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)