0

我正在尝试构建麒麟立方体,但我所有的麒麟立方体都在同一阶段失败:

 #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

任何帮助表示赞赏。

4

1 回答 1

0

如果无法访问 10020 应该启动 Hadoop MRJob History Server

于 2017-02-08T05:58:32.963 回答