Wednesday, September 11, 2013

Cloudera Manager - Hbase browser couldn't connect to localhost:9090


In Hue 2.5.0, there is a new feature called "HBase Browser", it is for user to quickly browsing huge tables and accessing Hbase content. You can also create new tables, add data, modify existing cells and filter data with the autocompleting search bar. If you click on "Hbase Browser" icon and get "API error: couldn't connect to localhost:9090", probably you don't have a Hbase thrift server running.

In your CM, go to "All Services" -> "hbase1" -> "Instances", then under "Role Instances", click on "Add", choose a node to be "HBase Thrift Server", then start the thrift server. By default, hue connects to itself on port 9090, so make sure hue knows which node is the thrift server.

To start a thrift server from commnad line, just type "hbase thrift start".

2 comments:

Romain Rigaux said...

Nice explanation on how to get started. If people want a peek on the new HBase application, there is a video:

https://vimeo.com/72357888

and a blog post:
http://gethue.tumblr.com/post/59071544309/the-web-ui-for-hbase-hbase-browserhttp://tonylixu.blogspot.com/2013/09/cloudera-manager-hbase-browser-couldnt.html

Romain Rigaux said...

Nice explanation on how to get started. If people want a peek on the new HBase application, there is a video:

https://vimeo.com/72357888

and a blog post:
http://gethue.tumblr.com/post/59071544309/the-web-ui-for-hbase-hbase-browserhttp://tonylixu.blogspot.com/2013/09/cloudera-manager-hbase-browser-couldnt.html