You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Brian Towles (JIRA)" <ji...@apache.org> on 2017/09/06 00:07:00 UTC
[jira] [Commented] (SENTRY-1918) NN snapshot should not be served
while HMS snapshot is collected
[ https://issues.apache.org/jira/browse/SENTRY-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154603#comment-16154603 ]
Brian Towles commented on SENTRY-1918:
--------------------------------------
Im going to add a function to the SentryService in order to pass through a check to the HMSFollower if a FullSnapshot is running. As well the DBUpdateForwarder will check the SentryService (getting it from changes to the SentryServiceFactory) to see if the Full Snapshot is running before returning a full snapshot. If a Full Snapshot is running then it will return an empty result until the full snapshot is done.
> NN snapshot should not be served while HMS snapshot is collected
> ----------------------------------------------------------------
>
> Key: SENTRY-1918
> URL: https://issues.apache.org/jira/browse/SENTRY-1918
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Alexander Kolbasov
> Assignee: Brian Towles
>
> While Sentry collects full HMS snapshot, Namenode still sends requests to sentry and may request a full snapshot which is useless because a new one will be available shortly. It is important to prevent this from happening so that we do not collect two snapshots in memory at the same time.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)