首页 > 其他 > 详细

hue集成hbase

时间:2020-06-11 14:10:10      阅读:59      评论:0      收藏:0      [点我收藏+]

一、配置hbase

1、修改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>
</configuration>

2、启动thrift服务

[hduser@yjt conf]$ hbase-daemon.sh start thrift

3、查看端口监听情况

[hduser@yjt conf]$ netstat -anl|grep 9090
tcp        0      0 0.0.0.0:9090            0.0.0.0:*               LISTEN   

二、配置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=(Cluster|localhost:9090)
  hbase_clusters=(Cluster|yjt:9090)

  # HBase configuration directory, where hbase-site.xml is located.
  hbase_conf_dir=/data1/hadoop/hbase/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

 

三、web界面

技术分享图片

 

hue集成hbase

原文:https://www.cnblogs.com/yjt1993/p/13092450.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!