-1

当开始使用 Apache kylin WebUI(2.2.0 和 2.1.0)做某事时,我从 Web 控制台收到一些错误,工具无法正常工作。但是当我尝试使用 kylin(1.6.0) 时,这个项目正在运行。

以下来自 Web 控制台的文本:

scripts.min.20171030210304.js:8660 GET http://172.60.40.24:7070/kylin/api/admin/config net::ERR_CONTENT_DECODING_FAILED
(anonymous) @ scripts.min.20171030210304.js:8660
sendReq @ scripts.min.20171030210304.js:8454
serverRequest @ scripts.min.20171030210304.js:8174
wrappedCallback @ scripts.min.20171030210304.js:11734
wrappedCallback @ scripts.min.20171030210304.js:11734
(anonymous) @ scripts.min.20171030210304.js:11820
$eval @ scripts.min.20171030210304.js:12863
$digest @ scripts.min.20171030210304.js:12675
$apply @ scripts.min.20171030210304.js:12967
(anonymous) @ scripts.min.20171030210304.js:1461
invoke @ scripts.min.20171030210304.js:3979
doBootstrap @ scripts.min.20171030210304.js:1459
bootstrap @ scripts.min.20171030210304.js:1473
Request.loader.onload @ scripts.min.20171030210304.js:42277
XMLHttpRequest.send (async)
Request @ scripts.min.20171030210304.js:42282
window.onload @ scripts.min.20171030210304.js:42286
scripts.min.20171030210304.js:10159 failed to load kylin.properties[object Object]
(anonymous) @ scripts.min.20171030210304.js:10159
(anonymous) @ scripts.min.20171030210304.js:84746
(anonymous) @ scripts.min.20171030210304.js:22844
wrappedErrback @ scripts.min.20171030210304.js:11743
wrappedErrback @ scripts.min.20171030210304.js:11743
wrappedErrback @ scripts.min.20171030210304.js:11743
(anonymous) @ scripts.min.20171030210304.js:11876
$eval @ scripts.min.20171030210304.js:12863
$digest @ scripts.min.20171030210304.js:12675
$apply @ scripts.min.20171030210304.js:12967
done @ scripts.min.20171030210304.js:8478
completeRequest @ scripts.min.20171030210304.js:8692
xhr.onreadystatechange @ scripts.min.20171030210304.js:8631
XMLHttpRequest.send (async)
(anonymous) @ scripts.min.20171030210304.js:8660
sendReq @ scripts.min.20171030210304.js:8454
serverRequest @ scripts.min.20171030210304.js:8174
wrappedCallback @ scripts.min.20171030210304.js:11734
wrappedCallback @ scripts.min.20171030210304.js:11734
(anonymous) @ scripts.min.20171030210304.js:11820
$eval @ scripts.min.20171030210304.js:12863
$digest @ scripts.min.20171030210304.js:12675
$apply @ scripts.min.20171030210304.js:12967
(anonymous) @ scripts.min.20171030210304.js:1461
invoke @ scripts.min.20171030210304.js:3979
doBootstrap @ scripts.min.20171030210304.js:1459
bootstrap @ scripts.min.20171030210304.js:1473
Request.loader.onload @ scripts.min.20171030210304.js:42277
XMLHttpRequest.send (async)
Request @ scripts.min.20171030210304.js:42282
window.onload @ scripts.min.20171030210304.js:42286
scripts.min.20171030210304.js:8660 GET http://172.60.40.24:7070/kylin/api/tables?ext=true&project=learn_kylin net::ERR_CONTENT_DECODING_FAILED
(anonymous) @ scripts.min.20171030210304.js:8660
sendReq @ scripts.min.20171030210304.js:8454
serverRequest @ scripts.min.20171030210304.js:8174
wrappedCallback @ scripts.min.20171030210304.js:11734
wrappedCallback @ scripts.min.20171030210304.js:11734
(anonymous) @ scripts.min.20171030210304.js:11820
$eval @ scripts.min.20171030210304.js:12863
$digest @ scripts.min.20171030210304.js:12675
$apply @ scripts.min.20171030210304.js:12967
done @ scripts.min.20171030210304.js:8478
completeRequest @ scripts.min.20171030210304.js:8692
xhr.onreadystatechange @ scripts.min.20171030210304.js:8631
XMLHttpRequest.send (async)
(anonymous) @ scripts.min.20171030210304.js:8660
sendReq @ scripts.min.20171030210304.js:8454
serverRequest @ scripts.min.20171030210304.js:8174
wrappedCallback @ scripts.min.20171030210304.js:11734
wrappedCallback @ scripts.min.20171030210304.js:11734
(anonymous) @ scripts.min.20171030210304.js:11820
$eval @ scripts.min.20171030210304.js:12863
$digest @ scripts.min.20171030210304.js:12675
$apply @ scripts.min.20171030210304.js:12967
done @ scripts.min.20171030210304.js:8478
completeRequest @ scripts.min.20171030210304.js:8692
xhr.onreadystatechange @ scripts.min.20171030210304.js:8631
XMLHttpRequest.send (async)
(anonymous) @ scripts.min.20171030210304.js:8660
sendReq @ scripts.min.20171030210304.js:8454
serverRequest @ scripts.min.20171030210304.js:8174
wrappedCallback @ scripts.min.20171030210304.js:11734
wrappedCallback @ scripts.min.20171030210304.js:11734
(anonymous) @ scripts.min.20171030210304.js:11820
$eval @ scripts.min.20171030210304.js:12863
$digest @ scripts.min.20171030210304.js:12675
$apply @ scripts.min.20171030210304.js:12967
(anonymous) @ scripts.min.20171030210304.js:1461
invoke @ scripts.min.20171030210304.js:3979
doBootstrap @ scripts.min.20171030210304.js:1459
bootstrap @ scripts.min.20171030210304.js:1473
Request.loader.onload @ scripts.min.20171030210304.js:42277
XMLHttpRequest.send (async)
Request @ scripts.min.20171030210304.js:42282
window.onload @ scripts.min.20171030210304.js:42286
scripts.min.20171030210304.js:8660 GET http://172.60.40.24:7070/kylin/api/models?projectName=learn_kylin net::ERR_CONTENT_DECODING_FAILED

有人知道问题如何解决吗?

来自 Web 控制台的一些错误文本。

4

1 回答 1

0

我在启动 kylin 时遇到了同样的错误。Kylin 需要 java 1.8 或更高版本。因此,如果您没有,请先安装 java 1.8。之后验证 PATH 变量是否指向 java 1.8 或更高版本。然后尝试再次启动 kylin ,它会工作。一切顺利!

于 2018-04-17T12:53:11.013 回答