Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Hue authentication to hbase

avatar
New Contributor

Hello,

 

I have been trying to use Hbase on Hue web UI but had little success so far.

 

At first I had a problem with TTransport exceptions, after following the advice from http://community.cloudera.com/t5/Web-UI-Hue-Beeswax/Sharing-how-to-solve-HUE-and-HBase-connect-probl... i solved the problem.

But after wards it seems Hue can not authenticate with hbase thrift. My hbase.thrift.security.qop is set to 'none'.

 

Any tips to solving this problem?

/var/log/hue/error.log 

[10/Dec/2018 01:07:41 -0800] conf ERROR Failed to authenticate to HBase Thrift Server, check authentication configurations.
Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/lib/hue/apps/hbase/src/hbase/conf.py", line 88, in config_validator
api.getTableList(cluster_name)
File "/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/lib/hue/apps/hbase/src/hbase/api.py", line 142, in getTableList
return [{'name': name, 'enabled': client.isTableEnabled(name, doas=self.user.username)} for name in client.getTableNames(doas=self.user.username)]
File "/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/lib/hue/desktop/core/src/desktop/lib/thrift_util.py", line 413, in wrapper
raise StructuredException('THRIFTSOCKET', str(e), data=None, error_code=502)
StructuredException: timed out (code THRIFTSOCKET): None
 
The thrift service seems to be active:
ps -aux | grep 9090
hbase 27258 0.2 3.4 3824128 426880 ? Sl 10:32 0:10 /usr/lib/jvm/java-8-oracle-cloudera/bin/java -Dproc_thrift -XX:OnOutOfMemoryError=kill -9 %p -Djava.net.preferIPv4Stack=true -Xms2147483648 -Xmx2147483648 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/hbase_hbase-HBASETHRIFTSERVER-e917159870948363967096e07ed20c08_pid27258.hprof -XX:OnOutOfMemoryError=/opt/cloudera/cm-agent/service/common/killparent.sh -Dhbase.log.dir=/var/log/hbase -Dhbase.log.file=hbase-cmf-hbase-HBASETHRIFTSERVER-ssd-vm-hadoop-ubuntu.log.out -Dhbase.home.dir=/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/lib/hbase -Dhbase.id.str= -Dhbase.root.logger=INFO,RFA -Djava.library.path=/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/lib/hadoop/lib/native:/opt/cloudera/parcels/CDH-6.0.1-1.cdh6.0.1.p0.590678/lib/hbase/lib/native/Linux-amd64-64 -Dhbase.security.logger=INFO,NullAppender org.apache.hadoop.hbase.thrift.ThriftServer start --port 9090 -threadpool

 
Who agreed with this topic