Created 08-03-2016 02:53 PM
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?
Created 08-03-2016 02:58 PM
Looks like ranger plugin jar is not present under HS2 lib directory, can you please cross check before jar exist under /usr/hdp/current/hive-server2/lib/?
ranger-hive-plugins-<version>.jar
Created 08-03-2016 02:58 PM
Looks like ranger plugin jar is not present under HS2 lib directory, can you please cross check before jar exist under /usr/hdp/current/hive-server2/lib/?
ranger-hive-plugins-<version>.jar
Created 08-03-2016 03:13 PM
@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....
Created 08-03-2016 03:43 PM
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.
Created 08-03-2016 05:45 PM
Oh, sorry misread the path... it works. much appreciated!