[
https://issues.apache.org/jira/browse/SENTRY-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153904#comment-16153904
]
Vamsee Yarlagadda commented on SENTRY-1919:
-------------------------------------------
I was thinking we can block the entire client connection if there is already an
outstanding request (full snapshot or delta request). SentryPlugin.java is
being instantiated just once as part of Sentry server. If so, can we make the
function calls synchronized so that this can be done easily?
> Sentry should prevent two snapshots from being sent to HDFS
> -----------------------------------------------------------
>
> Key: SENTRY-1919
> URL: https://issues.apache.org/jira/browse/SENTRY-1919
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Alexander Kolbasov
> Assignee: Sergio Peña
>
> When HDFS sync and HDFS HA is enabled it could be possible that two NameNodes
> will both ask for the full snapshot at the same time. This can double the
> size of memory needed to serve snapshot and should be prevented.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)