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

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