hue中使用hue用户(hue admin)访问hdfs报错:
Cannot access: /. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "supergroup".
其他症状:oozie editor页面卡住不动
检查过程如下:
1 hdfs配置
hadoop.proxyuser.hue.hosts=*
hadoop.proxyuser.hue.groups=*hadoop.proxyuser.httpfs.hosts=*
hadoop.proxyuser.httpfs.groups=*
2 用户组
# groupadd supergroup
# usermod -a -G supergroup hue
3 hue配置
webhdfs_url=http://$namenode:50070/webhdfs/v1
确保指向active状态的namenode