java.io.EOFException: Received -1 when reading from channel, socket has likely been closed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 6 months ago
Received -1 when reading from channel, socket has likely been closed.
via kafka-users by Jun Rao, 5 months ago
Received -1 when reading from channel, socket has likely been closed.
via kafka-users by Jun Rao, 5 months ago
Received -1 when reading from channel, socket has likely been closed.
via GitHub by tymofii-polekhin
, 2 years ago
Received -1 when reading from channel, socket has likely been closed.
via chinahadoop.cn by Unknown author, 1 year ago
via GitHub by jarretraim
, 8 months ago
Received -1 when reading from channel, socket has likely been closed.
java.io.EOFException: Received -1 when reading from channel, socket has likely been closed.
at kafka.utils.Utils$.read(Utils.scala:381)
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54)
at kafka.network.Receive$class.readCompletely(Transmission.scala:56)
at kafka.network.BoundedByteBufferReceive.readCompletely(BoundedByteBufferReceive.scala:29)
at kafka.network.BlockingChannel.receive(BlockingChannel.scala:111)
at kafka.consumer.SimpleConsumer.liftedTree1$1(SimpleConsumer.scala:79)
at kafka.consumer.SimpleConsumer.kafka$consumer$SimpleConsumer$$sendRequest(SimpleConsumer.scala:68)
at kafka.consumer.SimpleConsumer.send(SimpleConsumer.scala:91)
at kafka.javaapi.consumer.SimpleConsumer.send(SimpleConsumer.scala:68)
at com.facebook.presto.kafka.KafkaSplitManager.getSplits(KafkaSplitManager.java:83)
at com.facebook.presto.split.SplitManager.getSplits(SplitManager.java:45)
at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:112)
at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:92)
at com.facebook.presto.sql.planner.plan.TableScanNode.accept(TableScanNode.java:135)
at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitAggregation(DistributedExecutionPlanner.java:192)
at com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitAggregation(DistributedExecutionPlanner.java:92)
at com.facebook.presto.sql.planner.plan.AggregationNode.accept(AggregationNode.java:189)
at com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:78)
at com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:83)
at com.facebook.presto.execution.SqlQueryExecution.planDistribution(SqlQueryExecution.java:303)
at com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:226)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.