我正在尝试构建麒麟多维数据集,但是我所有的麒麟多维数据集在同一阶段都失败了:
#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
任何帮助表示赞赏。
最佳答案
如果无法访问10020,则应启动Hadoop MRJob历史服务器
关于hadoop - Kylin Cube构建在#18步名称:Build Cube中失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41889002/