java.io.IOException: Broken pipe

Apache's JIRA Issue Tracker | Shao-Chuan Wang | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    We have 30 nodes in one DC, 25 nodes in another. We are running 2.0.1. Two nodes are joining the ring, but one of them failed ARN [STREAM-IN-/10.4.197.53] 2014-01-09 19:41:40,418 StreamResultFuture.java (line 209) [Stream #e515d6e0-795d-11e3-b74a-b72892248056] Stream failed ERROR [main] 2014-01-09 19:41:40,418 CassandraDaemon.java (line 459) Exception encountered during startup java.lang.RuntimeException: Error during boostrap: Stream failed at org.apache.cassandra.dht.BootStrapper.bootstrap(BootStrapper.java:86) at org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:901) at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:670) at org.apache.cassandra.service.StorageService.initServer(StorageService.java:529) at org.apache.cassandra.service.StorageService.initServer(StorageService.java:428) at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:343) at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442) at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485) Caused by: org.apache.cassandra.streaming.StreamException: Stream failed at org.apache.cassandra.streaming.StreamResultFuture.maybeComplete(StreamResultFuture.java:210) at org.apache.cassandra.streaming.StreamResultFuture.handleSessionComplete(StreamResultFuture.java:185) at org.apache.cassandra.streaming.StreamSession.closeSession(StreamSession.java:321) at org.apache.cassandra.streaming.StreamSession.complete(StreamSession.java:501) at org.apache.cassandra.streaming.StreamSession.messageReceived(Stre amSession.java:376) at org.apache.cassandra.streaming.ConnectionHandler$IncomingMessageHandler.run(ConnectionHandler.java:293) at java.lang.Thread.run(Thread.java:744) ERROR [StorageServiceShutdownHook] 2014-01-09 19:41:40,428 CassandraDaemon.java (line 185) Exception in thread Thread[StorageServiceShutdownHook,5,main] java.lang.NullPointerException at org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.java:312) at org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:361) at org.apache.cassandra.service.StorageService.access$000(StorageService.java:96) at org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:494) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) at java.lang.Thread.run(Thread.java:744)

    Apache's JIRA Issue Tracker | 3 years ago | Shao-Chuan Wang
    java.io.IOException: Broken pipe
  2. 0

    Streaming fails

    GitHub | 2 years ago | elad
    java.io.IOException: Broken pipe
  3. 0

    Error while rebuilding a node: Stream failed

    Google Groups | 11 months ago | George Sigletos
    java.io.IOException: Broken pipe
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. batwalrus76 11 times, last 4 days ago
  2. osvzs 1 times, last 2 weeks ago
  3. Axelo 1 times, last 3 weeks ago
  4. tomthomas 2 times, last 1 month ago
  5. jpvee 5 times, last 3 months ago
27 more registered users
68 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Broken pipe

    at sun.nio.ch.FileDispatcherImpl.write0()
  2. Java RT
    SocketChannelImpl.write
    1. sun.nio.ch.FileDispatcherImpl.write0(Native Method)
    2. sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
    3. sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    4. sun.nio.ch.IOUtil.write(IOUtil.java:65)
    5. sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:487)
    5 frames
  3. org.apache.cassandra
    ConnectionHandler$OutgoingMessageHandler.run
    1. org.apache.cassandra.streaming.messages.StreamMessage.serialize(StreamMessage.java:44)
    2. org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:383)
    3. org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:363)
    3 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:744)
    1 frame