Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue hbase Api Error: TSocket read 0 bytes

Solved Go to solution
Highlighted

Re: Hue hbase Api Error: TSocket read 0 bytes

Master Collaborator

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.

Highlighted

Re: Hue hbase Api Error: TSocket read 0 bytes

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!

Re: Hue hbase Api Error: TSocket read 0 bytes

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

Don't have an account?
Coming from Hortonworks? Activate your account here