Alexander Kolbasov created SENTRY-1879:
------------------------------------------

             Summary: Sentry e2e tests are trying to test without notification 
log
                 Key: SENTRY-1879
                 URL: https://issues.apache.org/jira/browse/SENTRY-1879
             Project: Sentry
          Issue Type: Sub-task
          Components: Sentry
    Affects Versions: 2.0.0
            Reporter: Alexander Kolbasov
            Assignee: Na Li


Looking at AbstractTestWithStaticConfiguration we see that it does the 
following:

{code}
        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");
      }
{code}

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.



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

Reply via email to