Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

求助jstorm Connection refused #668

Open
aacaiweiming opened this issue Jun 10, 2019 · 0 comments
Open

求助jstorm Connection refused #668

aacaiweiming opened this issue Jun 10, 2019 · 0 comments

Comments

@aacaiweiming
Copy link

jstorm启动后,drpc连接时,drpc server端报错
[ERROR 2019-06-10 18:58:17 c.a.j.t.e.s.SpoutExecutors:178 spout0:14-MultipleThreadSpoutExecutors] spout execute error
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
at backtype.storm.drpc.DRPCSpout.checkFutures(DRPCSpout.java:116) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.drpc.DRPCSpout.nextTuple(DRPCSpout.java:194) ~[jstorm-core-2.1.1.jar:na]
at storm.trident.spout.RichSpoutBatchTriggerer.nextTuple(RichSpoutBatchTriggerer.java:82) ~[jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.task.execute.spout.SpoutExecutors.nextTuple(SpoutExecutors.java:175) ~[jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.task.execute.spout.MultipleThreadSpoutExecutors.run(MultipleThreadSpoutExecutors.java:79) [jstorm-core-2.1.1.jar:na]
at com.alibaba.jstorm.callback.AsyncLoopRunnable.run(AsyncLoopRunnable.java:95) [jstorm-core-2.1.1.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.8.0_45]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[na:1.8.0_45]
at backtype.storm.drpc.DRPCSpout.checkFutures(DRPCSpout.java:114) ~[jstorm-core-2.1.1.jar:na]
... 6 common frames omitted
Caused by: java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
at backtype.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:57) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:49) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:179) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.security.auth.ThriftClient.(ThriftClient.java:88) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.security.auth.ThriftClient.(ThriftClient.java:76) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.drpc.DRPCInvocationsClient.(DRPCInvocationsClient.java:40) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.drpc.DRPCSpout$Adder.call(DRPCSpout.java:88) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.drpc.DRPCSpout$Adder.call(DRPCSpout.java:75) ~[jstorm-core-2.1.1.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_45]
... 1 common frames omitted
Caused by: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused
at org.apache.thrift.transport.TSocket.open(TSocket.java:187) ~[libthrift-0.9.2.jar:0.9.2]
at org.apache.thrift.transport.TFramedTransport.open(TFramedTransport.java:81) ~[libthrift-0.9.2.jar:0.9.2]
at backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:102) ~[jstorm-core-2.1.1.jar:na]
at backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:46) ~[jstorm-core-2.1.1.jar:na]
... 10 common frames omitted
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_45]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) ~[na:1.8.0_45]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_45]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_45]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_45]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_45]
at org.apache.thrift.transport.TSocket.open(TSocket.java:182) ~[libthrift-0.9.2.jar:0.9.2]
... 13 common frames omitted
[ERROR 2019-06-10 18:58:17 c.a.j.t.e.TaskReportError:46 spout0:14-MultipleThreadSpoutExecutors] Report error to /ZK/taskerrors/follow-timeline-drpc-11-1560152002/14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant