You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2017/08/17 23:30:00 UTC

[jira] [Created] (SENTRY-1890) HMSFollower keep getting full snapshot when HDFS is disabled

Na Li created SENTRY-1890:
-----------------------------

             Summary: HMSFollower keep getting full snapshot when HDFS is disabled
                 Key: SENTRY-1890
                 URL: https://issues.apache.org/jira/browse/SENTRY-1890
             Project: Sentry
          Issue Type: Bug
          Components: Sentry
    Affects Versions: 2.0.0
            Reporter: Na Li
            Assignee: Na Li
            Priority: Critical


Sergio found that when HDFS sync is disabled, full snapshot is not persisted into data store. However, when data store is empty, we decide to get full snapshot. Therefore, every run, we get full snapshot from HMS. This causes big overhead.

The solution is to check if the notification ID table is empty or not because even when HDFS sync is disabled, we still persist the notification ID into notification ID table.



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