Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

What's causing ClassNotFound: RangerHiveAuthorizerFactory?

avatar
Rising Star

We just installed ranger and turned on hdfs and hive plugin. However, hiveserver2 keeps giving out a Classnotfound exception saying that org.apache.ranger.authorization.hive.authorizer.rangerhiveauthorizerfactory could not be found.

This is using HDP v 2.3.4.7 (kerberized)

Ranger: 0.5.0.2.3

Any ideas?

1 ACCEPTED SOLUTION

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Rising Star

@Jitendra Yadav it's under /usr/hdp/2.3.4.7/ranger-hive-plugin/lib/ranger-hive-plugin/ranger-hive-plugin-....

Seems like it exists....

avatar
Super Guru

As mentioned in my previous comment, can you please check inside /usr/hdp/current/hive-server2/lib/ directory? If its not there then try to copy all the ranger plugin jars from /usr/hdp/2.3.4.7/ranger-hive-plugin/lib/ to /usr/hdp/current/hive-server2/lib/ and restart the hiveserver2.

avatar
Rising Star

Oh, sorry misread the path... it works. much appreciated!