访问HUE时的服务器错误500

时间:2016-10-20 09:55:44

标签: hadoop hue

我安装了最新的HUE版本3.11。但是,每当我尝试通过http://localhost:8888访问Hue时,它会不断给出服务器错误500。

enter image description here

我查看了日志,runcpserver.log和supervisor.log都表明一切正常。我已经尝试删除了hue目录并重新运行make install,但每次都是这样。

这是一些日志的输出:

runcpserver.log:

[20/Oct/2016 04:10:02 -0700] __init__     WARNING  Couldn't import snappy.     Support for snappy compression disabled.
[20/Oct/2016 04:10:03 -0700] settings     INFO     Welcome to Hue 3.11.0
[20/Oct/2016 04:10:04 -0700] __init__     WARNING  Couldn't import snappy.     Support for snappy compression disabled.
[20/Oct/2016 04:10:31 -0700] middleware   INFO     Unloading  AuditLoggingMiddleware
[20/Oct/2016 04:10:31 -0700] middleware   INFO     Unloading SpnegoMiddleware
[20/Oct/2016 04:10:31 -0700] middleware   INFO     Unloading HueRemoteUserMiddleware
[20/Oct/2016 04:10:33 -0700] decorators   INFO     AXES: BEGIN LOG
[20/Oct/2016 04:10:33 -0700] decorators   INFO     Using django-axes 1.5.0
[20/Oct/2016 04:10:33 -0700] middleware   INFO     Redirecting to login page: /
[20/Oct/2016 04:10:33 -0700] access       INFO     192.168.56.72 -anon- - "GET / HTTP/1.1" -- login redirection
[20/Oct/2016 04:10:33 -0700] fsmanager    WARNING  Filesystem not configured for s3a
[20/Oct/2016 04:10:34 -0700] decorators   INFO     AXES: Calling decorated function: dt_login
[20/Oct/2016 04:10:35 -0700] decorators   INFO     AXES: Calling decorated function: dt_login
[20/Oct/2016 04:10:35 -0700] decorators   INFO     args: (True,)

supervisor.log:

20/Oct/2016 12:09:51 ] supervisor   INFO     Starting process /usr/local/hue/build/env/bin/hue kt_renewer
[20/Oct/2016 12:09:51 ] supervisor   INFO     Starting process /usr/local/hue/build/env/bin/hue runcpserver
[20/Oct/2016 12:09:51 ] supervisor   INFO     Started proceses (pid 25860) /usr/local/hue/build/env/bin/hue kt_renewer
[20/Oct/2016 12:09:51 ] supervisor   INFO     Started proceses (pid 25861) /usr/local/hue/build/env/bin/hue runcpserver
[20/Oct/2016 12:10:03 ] supervisor   INFO     Command "/usr/local/hue/build/env/bin/hue kt_renewer" exited normally.

的access.log:

[20/Oct/2016 04:25:49 -0700] INFO     192.168.56.72 -anon- - "GET / HTTP/1.1" -- login redirection
[20/Oct/2016 04:25:49 -0700] DEBUG    192.168.56.72 -anon- - "GET  /accounts/login/ HTTP/1.1"
[20/Oct/2016 04:25:50 -0700] DEBUG    192.168.56.72 -anon- - "GET /static/desktop/ext/fonts/Roboto-regular/Roboto-regular.f84cb1bf9be9.woff2  HTTP/1.1"
[20/Oct/2016 04:25:52 -0700] DEBUG    192.168.56.72 -anon- - "GET /static/desktop/art/favicon.2351422f4956.ico HTTP/1.1"

我还应该补充一点,这是HUE的独立安装,而不是通过CDH。但是我已经设法让它在这种方式下工作,所以不要把它看作是一个交易破坏者。

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

设法通过简单地安装Hue 3.10而不是3.11

来解决这个问题

感谢。