"Unknown command passed to Sentry Grant/Revoke Task");
} catch (SentryAccessDeniedException e) {
String csHooks = authzConf.get(
HiveAuthzConf.AuthzConfVars.AUTHZ_ONFAILURE_HOOKS.getVar(), "")
.trim();
SentryOnFailureHookContext hookContext = new SentryOnFailureHookContextImpl(
queryPlan.getQueryString(), new HashSet<ReadEntity>(),
new HashSet<WriteEntity>(), stmtOperation,
null, null, null, null, subject.getName(), ipAddress,
new AuthorizationException(e), conf);
HiveAuthzBindingHook.runFailureHook(hookContext, csHooks);