admin管理员组

文章数量:1516870

CDH Hue使用时报错: you are a Hue admin but not a HDFS superuser ,解决办法

1. 报错:you are a Hue admin but not a HDFS superuser

hue, 打开file browser页面报错:

Cannot access: /user/hue. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "supergroup".
StandbyException: Operation category READ is not supported in state standby. Visit  (error 403)

原因是:HA的namenode由hadoop1和hadoop2组成。原来是hadoop1为活跃namenode,变成了hadoop2为活跃。手动切换namenode,变成hadoop1为活跃。hue恢复正常使用。

2.添加新的hue load balance,启动时报错

ImportError: libxslt.so.1: cannot open shared object file: No such file or directory

解决:

yum install libxslt

继续报错 :

Failed to find the Apache HTTPD executable.

解决:

yum install httpd.x86_64

继续报错:

cannot find /usr/lib64/httpd/modules/mod_ssl.so

解决:

从运行正常的load balance 主机上复制/usr/lib64/httpd/modules/mod_ssl.so 到目标主机上

启动成功!

本文标签: CDH Hue使用时报错 you are a Hue admin but not a HDFS superuser解决办法