java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen

Apache's JIRA Issue Tracker | Andreas Schnitzerling | 2 years ago
  1. 0

    During repair, connections are closing and throwing exceptions. CPU is running on 100%, when error occurs. My test-configuration is one node w/ 2.1.2 and 11 nodes w/ 2.0.11. If I make repair either on 2.1 or 2.0 I get such an error. But if I have 2.0 everywhere istalled, no error. 2.0 nodes make "endless" repair in that circumstance. Seems to be incompatibility between 2.0 and 2.1. {panel:title=system.log} ERROR [STREAM-OUT-/10.6.8.212] 2014-11-18 12:28:34,948 StreamSession.java:472 - [Stream #0866dc80-6f16-11e4-bc5c-5fe413b6852c] Streaming error occurred java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen at sun.nio.ch.SocketDispatcher.write0(Native Method) ~[na:1.7.0_55] at sun.nio.ch.SocketDispatcher.write(Unknown Source) ~[na:1.7.0_55] at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) ~[na:1.7.0_55] at sun.nio.ch.IOUtil.write(Unknown Source) ~[na:1.7.0_55] at sun.nio.ch.SocketChannelImpl.write(Unknown Source) ~[na:1.7.0_55] at org.apache.cassandra.io.util.DataOutputStreamAndChannel.write(DataOutputStreamAndChannel.java:48) ~[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at org.apache.cassandra.streaming.messages.StreamMessage.serialize(StreamMessage.java:44) ~[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:346) [apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:326) [apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at java.lang.Thread.run(Unknown Source) [na:1.7.0_55] ERROR [AntiEntropySessions:1] 2014-11-18 12:28:34,948 RepairSession.java:303 - [repair #e10d0240-6f15-11e4-bc5c-5fe413b6852c] session completed with the following error org.apache.cassandra.exceptions.RepairException: [repair #e10d0240-6f15-11e4-bc5c-5fe413b6852c on logdata/onlinedata, (-143721749331492309,-139544903266258032]] Sync failed between /10.9.9.241 and /10.6.8.212 at org.apache.cassandra.repair.RepairSession.syncComplete(RepairSession.java:223) ~[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at org.apache.cassandra.service.ActiveRepairService.handleMessage(ActiveRepairService.java:389) ~[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at org.apache.cassandra.repair.RepairMessageVerbHandler.doVerb(RepairMessageVerbHandler.java:126) ~[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:62) ~[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_55] at java.lang.Thread.run(Unknown Source) [na:1.7.0_55] {panel} Since in windows only parallel repair is possible, is there a way to throttle CPU-consumption? I reduced rpc_X_threads to 4 and concurrent_reads/writes to 4. But no change. On other nodes is C* 2.0.10 and nothing in their system.log.

    Apache's JIRA Issue Tracker | 2 years ago | Andreas Schnitzerling
    java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen
  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 | 6 months ago | George Sigletos
    java.io.IOException: Broken pipe
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. MoYapro 7 times, last 3 weeks ago
  2. DoktorDoener666 5 times, last 3 weeks ago
  3. tvrmsmith 1 times, last 1 month ago
  4. dafman 1 times, last 2 months ago
  5. davidvanlaatum 2 times, last 3 months ago
21 more registered users
74 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

    Eine bestehende Verbindung wurde softwaregesteuert durch den Hostcomputer abgebrochen

    at sun.nio.ch.SocketDispatcher.write0()
  2. Java RT
    SocketChannelImpl.write
    1. sun.nio.ch.SocketDispatcher.write0(Native Method)[na:1.7.0_55]
    2. sun.nio.ch.SocketDispatcher.write(Unknown Source)[na:1.7.0_55]
    3. sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)[na:1.7.0_55]
    4. sun.nio.ch.IOUtil.write(Unknown Source)[na:1.7.0_55]
    5. sun.nio.ch.SocketChannelImpl.write(Unknown Source)[na:1.7.0_55]
    5 frames
  3. org.apache.cassandra
    ConnectionHandler$OutgoingMessageHandler.run
    1. org.apache.cassandra.io.util.DataOutputStreamAndChannel.write(DataOutputStreamAndChannel.java:48)[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT]
    2. org.apache.cassandra.streaming.messages.StreamMessage.serialize(StreamMessage.java:44)[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT]
    3. org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:346)[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT]
    4. org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:326)[apache-cassandra-2.1.2-SNAPSHOT.jar:2.1.2-SNAPSHOT]
    4 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[na:1.7.0_55]
    1 frame