java.lang.RuntimeException: java.io.EOFException

Apache's JIRA Issue Tracker | Neil Thomson | 4 years ago
  1. 0

    Very similar to issue reported in CASSANDRA-5105. I have 3 nodes configured in a cluster. The nodes are configured with compression enabled. When attempting a nodetool repair on one node, i get exceptions in the other nodes in the cluster. Disabling compression on the column family allows nodetool repair to run without error. Exception: INFO [Streaming to /3.69.211.179:2] 2013-03-25 12:30:27,874 StreamReplyVerbHandler.java (line 50) Need to re-stream file /var/lib/cassandra/data/rt/values/rt-values-ib-1-Data.db to /3.69.211.179 INFO [Streaming to /3.69.211.179:2] 2013-03-25 12:30:27,991 StreamReplyVerbHandler.java (line 50) Need to re-stream file /var/lib/cassandra/data/rt/values/rt-values-ib-1-Data.db to /3.69.211.179 ERROR [Streaming to /3.69.211.179:2] 2013-03-25 12:30:28,113 CassandraDaemon.java (line 164) Exception in thread Thread[Streaming to /3.69.211.179:2,5,main] java.lang.RuntimeException: java.io.EOFException at com.google.common.base.Throwables.propagate(Throwables.java:160) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.EOFException at java.io.DataInputStream.readInt(Unknown Source) at org.apache.cassandra.streaming.FileStreamTask.receiveReply(FileStreamTask.java:193) at org.apache.cassandra.streaming.compress.CompressedFileStreamTask.stream(CompressedFileStreamTask.java:114) at org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask.java:91) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ... 3 more Keyspace configuration is as follows: Keyspace: rt: Replication Strategy: org.apache.cassandra.locator.SimpleStrategy Durable Writes: true Options: [replication_factor:3] Column Families: ColumnFamily: tagname Key Validation Class: org.apache.cassandra.db.marshal.BytesType Default column value validator: org.apache.cassandra.db.marshal.BytesType Columns sorted by: org.apache.cassandra.db.marshal.BytesType GC grace seconds: 864000 Compaction min/max thresholds: 4/32 Read repair chance: 0.1 DC Local Read repair chance: 0.0 Populate IO Cache on flush: false Replicate on write: true Caching: KEYS_ONLY Bloom Filter FP chance: default Built indexes: [] Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy ColumnFamily: values Key Validation Class: org.apache.cassandra.db.marshal.BytesType Default column value validator: org.apache.cassandra.db.marshal.BytesType Columns sorted by: org.apache.cassandra.db.marshal.BytesType GC grace seconds: 864000 Compaction min/max thresholds: 4/32 Read repair chance: 0.1 DC Local Read repair chance: 0.0 Populate IO Cache on flush: false Replicate on write: true Caching: KEYS_ONLY Bloom Filter FP chance: default Built indexes: [] Compaction Strategy: org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy

    Apache's JIRA Issue Tracker | 4 years ago | Neil Thomson
    java.lang.RuntimeException: java.io.EOFException
  2. 0

    Cassandra streaming

    Stack Overflow | 4 years ago | Alok
    java.lang.RuntimeException: java.io.EOFException
  3. 0

    Streaming fails with inter node encryption on

    Google Groups | 4 years ago | Mathijs Vogelzang
    java.lang.RuntimeException: java.io.EOFException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cryptic exception in Hadoop/Cassandra job

    Google Groups | 4 years ago | Brian Jeltema
    java.lang.RuntimeException: java.io.EOFException
  6. 0

    Problem while streaming SSTables with BulkOutputFormat

    Google Groups | 4 years ago | Ralph Romanos
    java.lang.RuntimeException: java.io.EOFException

  1. kjhdofjosvs 1 times, last 1 week ago
  2. richard77 2 times, last 3 weeks ago
  3. bpbhat77 4 times, last 3 months ago
  4. Piz 9 times, last 5 months ago
  5. Bardh 1 times, last 6 months ago
2 more registered users
18 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.EOFException

    No message provided

    at java.io.DataInputStream.readInt()
  2. Java RT
    DataInputStream.readInt
    1. java.io.DataInputStream.readInt(Unknown Source)
    1 frame
  3. org.apache.cassandra
    FileStreamTask.runMayThrow
    1. org.apache.cassandra.streaming.FileStreamTask.receiveReply(FileStreamTask.java:193)
    2. org.apache.cassandra.streaming.compress.CompressedFileStreamTask.stream(CompressedFileStreamTask.java:114)
    3. org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask.java:91)
    3 frames
  4. Apache Cassandra
    WrappedRunnable.run
    1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
    1 frame
  5. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames