Created 12-09-2016 09:47 AM
Hey Guys,
I am able to query data through admin hive view of ambari, it is displaying output properly. but whenever I am running query ,Console displays this error "Unauthorized connection for super-user: root from IP ***.***.***.*" also in output for data nodes IP addresses ."Unauthorized connection for super-user: root from IP".Please let me know which configuration property needs to be changed to resolve this issue.
Thanks in advance,
Subash
Created 12-09-2016 09:59 AM
@subash sharmacould you plese set hadoop.proxyuser.hive.groups,hadoop.proxyuser.hive.hosts to * using ambari and restart hdfs and see if it help.
Created 12-09-2016 10:12 AM
yes i did and have restarted the hdfs and related services, but i am still facing the issue.
Created 12-09-2016 10:13 AM
hiveproxyhost.png snapshot attached.
Created 12-09-2016 10:39 AM
Please add the proxy property for root user as hadoop.proxyuser.root.groups=* and hadoop.proxyuser.root.hosts=*.
Created 12-09-2016 11:51 AM
Hey Sindhu, Can you please let me know the path of configuration file where I need to make these changes and let me know the services which need to be restarted after committing the changes.
Thank you,
Subash
Created 12-09-2016 09:27 PM
You need to add below properties to core-site.xml(custom core-site section of Ambari)
hadoop.proxyuser.root.groups=* hadoop.proxyuser.root.hosts=*
Created 12-12-2016 06:41 AM
Please refer this -
Regards
Pranay Vyas
Created 05-31-2017 07:11 PM
This solved for me:
hadoop.proxyuser.root.hosts=*
Rgds,
Luiz
Created 12-16-2017 11:51 AM
hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*