Created 07-20-2016 04:50 AM
When I am trying to access my hive databases from Hive View, am getting above error.
Does anyone has any idea about this that why we get such error from hive view ?
Created 07-20-2016 04:59 AM
I think you have logged in as admin and trying to do operations, Refer Link and create hdfs directory for admin and give appropriately permissions . It will works
su - hdfs
hadoop fs -mkdir /user/admin
hadoop fs -chown admin:hadoop /user/admin
Created 07-20-2016 06:04 AM
create a hive policy in ranger to allow admin user to access hive
Created 07-20-2016 07:10 AM
Also verify and ensure that hadoop.proxyuser.hive.users/group are set to * in hdfs-configs [core-site].
Created 07-21-2016 09:04 AM
Hi @revan wabale ,
to answer your question clearly we need to know what type of authorization you are using for Hive.
Do you have Ranger in place? If not maybe the following link shines some light on authentication in Hiveserver2 link
Regards...
Created 02-15-2017 08:44 PM
Hi all,
I have the same problem and when i've done all the steps as previously mentioned above I still get permissions denied. Can someone help me please?
Created 05-18-2017 10:05 AM
For me the following fixed it. Set the following configs on hive:
webhcat.proxyuser.root.groups *
webhcat.proxyuser.root.hosts *
Created 02-09-2018 09:03 PM
INSERT OVERWRITE DIRECTORY "hdfs://sandbox-hdp.hortonworks.com/tmp/hey2" SELECT * FROM mytable;