28805
DISCUSSIONS
102199
MEMBERS
3161
ARTICLES
Created 02-15-2017 12:50 PM
Hi,
am have deployed CDH5.7.1 without Cloudera Manager.
Sentry Store, Hiveserver2 and Metastore all start up fine. I
am using hiveserver2 with LDAP auth on a kerberized cluster.
I can connect with beeline to hiveserver2 just fine (with auth).
However, when issuing a "show databases" I am getting a FAILED: NullPointerException null (state=42000,code=40000)
After compiling hive by myself I see that the NPE is in HiveAuthorizerImpl.checkPrivileges, where authValidiator is null. In HiveAuthzBindingSessionHook.java I see that the SentryHiveAuthorizerFactory creates a SentryHiveAuthorizerImpl(null, null); so authValidator is indeed set to null in the sentry plugin. How is this supposed to work? Or did I probably just configure the wrong Sentry Plugin classes?
Thanks, Hans-Peter
Hans-Peter