Hue整合HBase

Hue安装

关于Hue的编译和安装详见我的另一片博客:https://blog.csdn.net/DataIntel_XiAn/article/details/103543368

 

配置Hue

[hbase]
   hbase_clusters=(Cluster|hadoop:9090)
   hbase_conf_dir=/home/hadoop/hbase/conf

 

启动测试

首先应保证thrift服务启动(hbase-daemon.sh start thrift),查看HBase数据发现连接超时,原因不知,参考

hbase.regionserver.thrift.framed

Description

Use Thrift TFramedTransport on the server side. This is the recommended transport for thrift servers and requires a similar setting on the client side. Changing this to false will select the default transport, vulnerable to DoS when malformed requests are issued due to THRIFT-601.

Default

false

后来查看官网发现默认的<hbase.regionserver.thrift.framed>参数是false所以需要对hbase-site.xml进行配置

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章