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/04/19 03:55:41 UTC

[jira] [Created] (SENTRY-1707) Add unit test to check response from HiveMetaStoreClient.getNextNotification when there is no new notification at Hive meta store

Na Li created SENTRY-1707:
-----------------------------

             Summary: Add unit test to check response from HiveMetaStoreClient.getNextNotification when there is no new notification at Hive meta store
                 Key: SENTRY-1707
                 URL: https://issues.apache.org/jira/browse/SENTRY-1707
             Project: Sentry
          Issue Type: Test
          Components: Sentry
    Affects Versions: sentry-ha-redesign
            Reporter: Na Li
            Assignee: Na Li


Hive meta store returns null response when there is no new notification. Thrift throws exception with this null response, and calling HiveMetaStoreClient.getNextNotification gets this exception. 

The desired behavior is that Hive meta store returns normal response with set event. And the events set is empty. 

This bug is tracked in https://issues.apache.org/jira/browse/HIVE-15761

We need to add a unit test to expose this bug in Hive meta store. And Hive team can easily verify the fix with this unit test.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)