访问时服务器错误500

aij0ehis  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(430)

我已经安装了最新的3.11版本。但是每当我尝试通过http://localhost:8888它不断给我服务器错误500。

我查看了日志,runcpserver.log和supervisor.log都表明一切正常。我尝试删除hue目录并重新运行makeinstall,但每次都是一样的。
以下是一些日志的输出:
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"

我还应该补充说,这是一个独立的安装色调,而不是通过cdh。不过,我已经设法让它工作之前,这样做,所以不要认为这是一个交易破坏者。
有什么想法吗?

rks48beu

rks48beu1#

只需安装hue 3.10而不是3.11,就可以解决这个问题
谢谢。

相关问题