Hue整合HBase

本文介绍了如何将Hue与HBase整合。首先详细讲述了Hue的安装过程,然后重点讨论了配置Hue的步骤,特别是在遇到HBase连接超时问题时,需要确保Thrift服务已启动,并通过修改<hbase.regionserver.thrift.framed>参数为true来解决这个问题。最后,文章提到了启动和测试整合设置的流程。
摘要由CSDN通过智能技术生成

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进行配置

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值