【发布时间】:2017-01-27 07:39:48
【问题描述】:
我正在尝试构建麒麟立方体,但我所有的麒麟立方体都在同一阶段失败:
#18 Step Name: Build Cube
我浏览了应用程序日志:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /usr/local/hadoop/logs/userlogs/application_1485160852580_1133/container_1485160852580_1133_01_000001 (Is a directory)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
有时它也会因以下异常而失败:
Exception: java.net.ConnectException: Call From xxxxxx/192.168.1.136 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
java.net.ConnectException: Call From xxxxxxxxxx/192.168.1.136 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
我无法找到此构建失败的原因。
谁能帮帮我?
更新:现在我能够成功创建 Kylin 多维数据集。现在我正在尝试每 15 分钟自动重建 kylin 多维数据集,以便从 hive 获取刷新的数据。每次使用 kylin RestfulAPI 的 curl 命令但数据时,我的 kylin 多维数据集重建都是成功的没有从 Hive 导入 Kylin cube。我找不到原因,需要任何配置才能使用 curl 命令。 我正在使用以下网址:
http://kylin.apache.org/docs16/howto/howto_build_cube_with_restapi.html https://kyligence.gitbooks.io/kap-manual//en/rest/authentication.en.html
感谢任何帮助。
【问题讨论】:
-
我是否缺少 kylin 配置中的任何设置。这是我第一次在我的单节点服务器中安装 kylin 1.6。