Cant connect to hive server through beeline

180 views Asked by At

I started hiveserver2. I am trying to connect to the server through beeline with

beeline> !connect jdbc:hive2://localhost:10000/default

Then I give a blank username and password and get this error:

 castor is not allowed to impersonate anonymous

Please can someone help me connect

1

There are 1 answers

0
sandeep rawat On BEST ANSWER

You need to set proxyuser propertyfor impersonating at core-site.xml

ie hadoop.proxyuser.hive.groups=*

hadoop.proxyuser.hive.hosts=*

you can find more logs on oozie launcher logs will help you debugging more.