Support Questions

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

Hue configuration Error | Beewax | File Browser

avatar
Expert Contributor

Hi Team,

I am facing following errors while browsing Hive UI and and File browser in Hue.

HiveUI Error -

QueryServerException at /beeswax/ Bad status for request TOpenSessionReq(username='hue', password='hue', client_protocol=4, configuration={'hive.server2.proxy.user': u'admin'}): TOpenSessionResp(status=TStatus(errorCode=0, errorMessage='Failed to open new session:

File Browser Error -

WebHdfsException at /filebrowser/ SecurityException: Failed to obtain user group information: org.apache.hadoop.security.authorize.AuthorizationException: User: hue is not allowed to impersonate admin (error 403)

Note : - Installation and configuration for Hue has been done using below URL

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-...

1 ACCEPTED SOLUTION

avatar
Guru

Divakar: Thanks for your consideration, but as I have mentioned above problem has been resolved by running build/env/bin/hue syncdb --noinput

View solution in original post

14 REPLIES 14

avatar
Guru

Hi PD, Thanks for your reply. I ad same value for hadoop.proxyuser.hive.groups and still was facing issue.

Actually I upgraded my HDP stack from 2.2 to 2.3 so because and I did not syncdb for hue. On ce I did that it solved my issue.

If you are getting above error then try to update hue config with following command. /usr/lib/hue/build/env/bin/hue syncdb --noinput it will update your hue files.

[root@m1 hue]# build/env/bin/hue syncdb --noinput

Syncing...

avatar

Can you cross check webhdfs_url propertie in hue.conf

webhdfs_url=http://NameNodeHost:14000/webhdfs/v1/

# webhdfs_url=http://NN Host:50070/webhdfs/v1/

Can you check hadoop-httpfs status?

avatar
Guru

Divakar: Thanks for your consideration, but as I have mentioned above problem has been resolved by running build/env/bin/hue syncdb --noinput

avatar

Thanks for informing me the correct solution.

avatar
Master Mentor

Our best practice is to have a dedicated ambai views server (standalone) separate from Ambari server node. You can add more Ambari Views servers by the way and Hue is in the same situation I'd it goes down impact felt by everyone. @Saurabh Kumar please refer to ambai views user guide http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/ch_using_ambar...