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 https://s.apache.org/sbnn-error (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 到目标主機上
啟動成功!