博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Apache Kylin 2.3 构建Cube失败
阅读量:2388 次
发布时间:2019-05-10

本文共 4493 字,大约阅读时间需要 14 分钟。

1、问题

这里写图片描述

需要查看错误日志

[root@node1 ~]# cd /opt/kylin-2.3.1/logs/[root@node1 logs]# lltotal 1664-rw-r--r-- 1 root root   16674 May 30 08:18 kylin.gc.20356.0.current-rw-r--r-- 1 root root    6801 May 29 09:22 kylin.gc.31042.0.current-rw-r--r-- 1 root root 1596684 May 30 08:43 kylin.log-rw-r--r-- 1 root root   66815 May 29 13:39 kylin.out[root@node1 logs]# vi kylin.log

发现错误如下:

2018-05-29 10:00:00,383 ERROR [Scheduler 1342808801 Job 021749b4-4d73-474b-88b0-c171a10a68f5-615] common.HadoopJobStatusChecker:58 : error check statusjava.io.IOException: java.net.ConnectException: Call From node1/10.17.12.160 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        at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:334)        at org.apache.hadoop.mapred.ClientServiceDelegate.getJobStatus(ClientServiceDelegate.java:419)        at org.apache.hadoop.mapred.YARNRunner.getJobStatus(YARNRunner.java:532)        at org.apache.hadoop.mapreduce.Job$1.run(Job.java:314)        at org.apache.hadoop.mapreduce.Job$1.run(Job.java:311)        at java.security.AccessController.doPrivileged(Native Method)        at javax.security.auth.Subject.doAs(Subject.java:422)        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)        at org.apache.hadoop.mapreduce.Job.updateStatus(Job.java:311)        at org.apache.hadoop.mapreduce.Job.getStatus(Job.java:329)        at org.apache.kylin.engine.mr.common.HadoopJobStatusChecker.checkStatus(HadoopJobStatusChecker.java:38)        at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:152)        at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:162)        at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:67)        at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:162)        at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:300)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)        at java.lang.Thread.run(Thread.java:748)Caused by: java.net.ConnectException: Call From node1/10.17.12.160 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        at sun.reflect.GeneratedConstructorAccessor62.newInstance(Unknown Source)        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:783)        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:730)        at org.apache.hadoop.ipc.Client.call(Client.java:1415)        at org.apache.hadoop.ipc.Client.call(Client.java:1364)        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)        at com.sun.proxy.$Proxy74.getJobReport(Unknown Source)        at org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl.getJobReport(MRClientProtocolPBClientImpl.java:133)        at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:320)        ... 18 moreCaused by: java.net.ConnectException: Connection refused        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)        at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)

2、解决办法

hadoop的historyserver服务没有启动。

[root@node1 ~]# mr-jobhistory-daemon.sh start historyserverstarting historyserver, logging to /opt/hadoop-2.7.5/logs/mapred-root-historyserver-node1.out[root@node1 ~]# jps30208 HRegionServer18852 Elasticsearch27813 NodeManager28773 RunJar27534 DataNode2769 JobHistoryServer7219 QuorumPeerMain2812 Jps[root@node1 ~]#
你可能感兴趣的文章
NagVis实物监控工具
查看>>
nginx - low risk webdav destination bug
查看>>
Lessons Learned from Building and Running MHN, the World's Largest Crowdsourced Honeynet
查看>>
Logwatch Linux/Unix系统日志检测软件
查看>>
减少Linux下Squid服务器的TIME_WAIT套接字数量
查看>>
/etc/sudoers中的含义
查看>>
Five must-know open source SDN controllers
查看>>
Finding Bad Guys with 35 million Flows, 2 Analysts, 5 Minutes and 0 Dollars
查看>>
SANS FOR572 Logstash
查看>>
apt成熟度模型
查看>>
Digital Forensics Framework v0.4.3 available
查看>>
linux设置bond网卡绑定
查看>>
Is your .svn showing (like 3300 other sites)?
查看>>
PCI DSS Update Could Include Virtualization Security(转载自baoz)
查看>>
List of Windows Auto Start Locations
查看>>
OSSIM 2.1 - Multiple security vulnerabilities
查看>>
PHP文件上传源码分析(RFC1867)
查看>>
关于php5.*后的时区问题 date_default_timezone_set ();
查看>>
“Cache-control”常见的取值有private、no-cache、max-age、must-revalidate等
查看>>
安全工具集合
查看>>