Hadoop 管理工具HUE配置-HBase配置

1 前言

首先要陪只好HBase,可以参见http://www.cnblogs.com/liuchangchun/p/4096891.html,完全分布式类似

 

2 HBase配置

2.1 HUE 配置文件设置,找到hbase标签,配置如下

# 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

2.2 HBase配置文件修改,需要在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>

为什么要添加这些东西,因为HUE要访问HBase的thrift服务,参见:http://gethue.com/hbase-browsing-with-doas-impersonation-and-kerberos/

2.3 需要启动HBase的thrift服务

hbase-daemon.sh start thrift2

 

转载于:https://www.cnblogs.com/liuchangchun/p/4769730.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值