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.