最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

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

互联网 admin 17浏览 0评论

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 ,解决办法

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 到目标主机上

启动成功!

与本文相关的文章

发布评论

评论列表 (0)

  1. 暂无评论