当开始使用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
有人知道问题怎么解决?
答案 0 :(得分:0)
我在开始麒麟时遇到了同样的错误。 Kylin需要java 1.8或更高版本。因此,如果你没有,首先安装java 1.8。之后验证PATH变量是否指向java 1.8或更高版本。然后尝试再次启动麒麟,它会起作用。一切顺利!