欢迎投稿

今日深度:

Hue(六)集成HBase,hue集成hbase

Hue(六)集成HBase,hue集成hbase


1. 配置HBase


Hue需要读取HBase的数据是使用thrift的方式,默认HBase的thrift服务没有开启,所有需要手动额外开启thrift 服务。
thrift service默认使用的是9090端口,使用如下命令查看端口是否被占用

$ netstat -nl|grep 9090

启动thrift service

$ hbase-daemon.sh start thrift


2. 配置Hue


修改【HUE_HOME/desktop/conf/】目录下的hue.ini文件中[hbase]中的配置

# Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
# Use full hostname with security.
hbase_clusters=(Cluster|hadoop-slave1.dimensoft.com.cn:9090)

# HBase configuration directory, where hbase-site.xml is located.
hbase_conf_dir=/usr/local/cdh-5.2.0/hbase-0.98.6/conf

高能预警:hbase_clusters参数值中的Cluster只是在Hue的界面中显示的集群名称而已,可以修改成自己需要的。


3. 启动Hue


进入【HUE_HOME】下启动Hue

$ build/env/bin/supervisor


访问Hue的Web 界面http://hadoop-main.dimensoft.com.cn:8888/






www.htsjk.Com true http://www.htsjk.com/hbase/33003.html NewsArticle Hue(六)集成HBase,hue集成hbase 1. 配置HBase Hue需要读取HBase的数据是使用thrift的方式,默认HBase的thrift服务没有开启,所有需要手动额外开启thrift 服务。 thrift service默认使用的是9090端口...
相关文章
    暂无相关文章
评论暂时关闭