Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1707

Add unit test to check response from HiveMetaStoreClient.getNextNotification when there is no new notification at Hive meta store

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Sentry
    • Labels:
    • Flags:
      Important

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                linaataustin Na Li
                Reporter:
                linaataustin Na Li
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: