Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-872 Uber jira for HMS HA + Sentry HA redesign
  3. SENTRY-1879

Sentry e2e tests are trying to test without notification log

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.0.0
    • 2.0.0
    • Sentry
    • None

    Description

      Looking at AbstractTestWithStaticConfiguration we see that it does the following:

              if (enableNotificationLog) {
                properties.put(HiveConf.ConfVars.METASTORE_EVENT_LISTENERS.varname,
                    SentryMetastorePostEventListenerNotificationLog.class.getName());
              } else {
                properties.put(HiveConf.ConfVars.METASTORE_EVENT_LISTENERS.varname,
                    SentryMetastorePostEventListener.class.getName());
              }
              properties.put("hcatalog.message.factory.impl.json",
                  "org.apache.sentry.binding.metastore.messaging.json.SentryJSONMessageFactory");
            }
      

      Note that we now only support notification log and we don't support HMS without notification log. This and other places should be changed to always use notification log and configure it properly.

      Attachments

        Activity

          People

            linaataustin Na Li
            akolb Alex Kolbasov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: