Support Questions

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

Hue hbase Api Error: TSocket read 0 bytes

avatar
Contributor

After enabling hbase 

Enable HBase Thrift Server Framed Transport
HUE connection to view Hbase tables returns hbase Api Error: TSocket read 0 bytes
on just getting a table list
 
1 ACCEPTED SOLUTION

avatar
Contributor

Solved - 

Cannot use Thrift2

Enable HBase Thrift Server Framed Transport hbase.regionserver.thrift.framed true

HBase Thrift Server Type hbase.regionserver.thrift.server.type must be TThreadPoolServer


cannot use THsHaServer or TNonblockingServer or framed transport

View solution in original post

22 REPLIES 22

avatar
Guru

That's odd that it's throwing that error.  It's true that only image files can be attached, but you can try to place the contents of the files you're trying to send us inside a "Code" block.  There's a little button on the rich text editor for inserting code.  This should not try to render your file contents as HTML and let you proceed.

avatar
Expert Contributor

I'm facing same error as well when I add this configuration to Hue's hue_safety_valve.ini via CM:

 

~~~

[hbase]
hbase_clusters=(Cluster|some-hbase-thrift-server:9090)

~~~~

 

* I've verified that the 'Enable HBase Thrift Server Framed Transport' is unchecked

thrift_transport is set to 'buffered' in Hue

 

Is there a way to download the hbase-site.xml via CM? 

 

Please let me know if there is any other config to update.

 

Thanks!

avatar
Super Guru
If you use CM you don't need to use the Hue safety valve.

Make sure the Trift Server is added and started
Make sure in the Hue configuration that the HBase service and the HBase
thrift service are checked

Restart Hue and that's it!

Romain