1 Preface
First you have to accompany HBase, you can see http://www.cnblogs.com/liuchangchun/p/4096891.html, fully distributed similar
2 HBase Configure 2.1 HUE profile settings, locate the HBase label, and configure the following
# comma-separated List of HBase Thrift servers forClusters in the format of ' (Name|host:port) '. # Use full hostname with security. # If using Kerberos we assume GSSAPI SASL, not PLAIN. Hbase_clusters= (cluster1|spark-1421-0002:9090) # hbase configuration directory, where HBase-Site.xml is located. Hbase_conf_dir=/home/hadoop/software/cloud/hbase-1.0.0/conf # hard limit of rows or columns per row fetched before truncating. # # Truncate_limit= 500 # ' Buffered ' is thedefaultOf the HBase Thrift Server and supports security. # ' Framed 'can be used to chunk up responses, # which are useful when used in conjunction with the nonblocking server in Thrift. Thrift_transport=buffered
2.2 HBase configuration file modification, need to add something in Hbase-site.xml
< Property> <name>Hbase.thrift.support.proxyuser</name> <value>True</value> </ Property> < Property> <name>Hbase.regionserver.thrift.http</name> <value>True</value> </ Property>
Why add these things because Hue wants to access HBase's thrift service, see: http://gethue.com/hbase-browsing-with-doas-impersonation-and-kerberos/
2.3 Thrift services that need to start hbase
hbase-daemon.sh Start thrift2
Hadoop Management Tools Hue configuration-hbase Configuration