一、集成HDFS
1、问题描述
打开Hue的web界面,出现报错
Cannot access: /user/hue. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS
2、解决办法,安全性待确认
[root@hadoop001 ~]# usermod -aG hdfs hue
[root@hadoop001 ~]# usermod -aG hadoop hue
二、集成HBase
1、问题描述
Hue的web界面中无法查看HBase数据
2、解决办法
导航-HBase-配置
搜索 hbase.thrift.support.proxyuser和 hbase.regionserver.thrift.http
core-site.xml
添加
<property><name>hadoop.proxyuser.hue.hosts</name><value>*</value></property>
<property><name>hadoop.proxyuser.hue.groups</name><value>*</value></property>
<property><name>hadoop.proxyuser.hbase.hosts</name><value>*</value></property>
<property><name>hadoop.proxyuser.hbase.groups</name><value>*</value></property>
3、导航-HUE-配置
搜索 hue_safety_valve
[hbase]
hbase_conf_dir={{HBASE_CONF_DIR}}
thrift_transport=buffered