[
https://issues.apache.org/jira/browse/SENTRY-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005418#comment-16005418
]
Sergio Peña commented on SENTRY-1760:
-------------------------------------
What cases should be considered as gaps between notifications? Probably:
- Notifications that could not be processed due to errors.
- HDFS sync is disabled.
- Other ones?
Btw, I see in the HMSFollower code this:
{noformat}
if (!eventIDBefore.equals(eventIDAfter)) {
LOGGER.error("#### Fail to get a point-in-time hive full snapshot !!
Current NotificationID = " +
eventIDAfter.toString());
return;
}
{noformat}
What's the expected behavior? Does the user need to restart Sentry on the above
situation? or should HMSFollower handle that; sleep and redo the initial
snapshot automatically?
> HMSFollower should detect when a full snapshot from HMS is required
> -------------------------------------------------------------------
>
> Key: SENTRY-1760
> URL: https://issues.apache.org/jira/browse/SENTRY-1760
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: Sergio Peña
> Priority: Blocker
> Fix For: sentry-ha-redesign
>
>
> The current criteria for getting a full snapshot from HMS is insufficient. We
> need to get full snapshot every time when there is a gap between last stored
> notification and the smallest notification available from HMS.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)