hue配置HBase

5 篇文章 0 订阅

1.修改HBase配置

cd /export/servers/hbase-1.2.0-cdh5.14.0/conf/

im 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>

拷贝到其他节点

 scp hbase-site.xml  node02:/$PWD

 scp hbase-site.xml  node03:/$PWD

2.修改Hadoop的配置

cd /export/servers/hadoop-2.6.0-cdh5.14.0/etc/hadoop

vim core-site.xml

<property>
<name>hadoop.proxyuser.hbase.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hbase.groups</name>
<value>*</value>
</property>

分配到其他节点

 scp core-site.xml  node02:/$PWD

 scp core-site.xml  node03:/$PWD

3.修改hue配置

cd /export/servers/hue-3.9.0-cdh5.14.0/desktop/conf

vim hue.ini   大约在1244行

[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.
   ## node01你的安装hbase的主节点
    hbase_clusters=(Cluster|node01:9090)
 
   # HBase configuration directory, where hbase-site.xml is located.
    ## 你的hbase的安装配置路径
	hbase_conf_dir=/export/servers/hbase-1.2.0-cdh5.14.0/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

 

4.启动 服务

启动hdfs

start-dfs.sh 

启动hbase

start-hbase.sh

启动thrift

hbase-daemon.sh start thrift

启动hue

build/env/bin/supervisor

5.页面测试

 

 

 

 

 

 

 

 

 

 

 

 

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

大数据老哥

欢迎支持

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值