标签:
首先要陪只好HBase,可以参见http://www.cnblogs.com/liuchangchun/p/4096891.html,完全分布式类似
# Comma-separated list of HBase Thrift servers for clusters 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 the default of the HBase Thrift Server and supports security. # ‘framed‘ can be used to chunk up responses, # which is useful when used in conjunction with the nonblocking server in Thrift. thrift_transport=buffered
<property> <name>hbase.thrift.support.proxyuser</name> <value>true</value> </property> <property> <name>hbase.regionserver.thrift.http</name> <value>true</value> </property>
为什么要添加这些东西,因为HUE要访问HBase的thrift服务,参见:http://gethue.com/hbase-browsing-with-doas-impersonation-and-kerberos/
hbase-daemon.sh start thrift2
标签:
原文地址:http://www.cnblogs.com/liuchangchun/p/4769730.html