Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-10770

Warning TIOStreamTransport.java:112 - Error closing output stream.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Not A Problem
    • None
    • None
    • Cassandra 2.1.11, ubuntu 12.04

    • Normal

    Description

      Hi, In our cluster cassandra of 6 nodes we are having many times the next warning

      WARN [Thrift:2477] 2015-11-25 10:06:33,795 TIOStreamTransport.java:112 - Error closing output stream.
      java.net.SocketException: Socket closed
      at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116) ~[na:1.8.0_60]
      at java.net.SocketOutputStream.write(SocketOutputStream.java:153) ~[na:1.8.0_60]
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.8.0_60]
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.8.0_60]
      at java.io.FilterOutputStream.close(FilterOutputStream.java:158) ~[na:1.8.0_60]
      at org.apache.thrift.transport.TIOStreamTransport.close(TIOStreamTransport.java:110) ~[libthrift-0.9.2.jar:0.9.2]
      at org.apache.cassandra.thrift.TCustomSocket.close(TCustomSocket.java:197) [apache-cassandra-2.1.11.jar:2.1.11]
      at org.apache.thrift.transport.TFramedTransport.close(TFramedTransport.java:89) [libthrift-0.9.2.jar:0.9.2]
      at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:231) [apache-cassandra-2.1.11.jar:2.1.11]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_60]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_60]
      at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]

      We are not able to know why cassandra is closing a socket that was close before. This is hapening mostly when cassandra is having high load of writes.

      Is it that a bug?

      Attachments

        1. warning-thrift.txt
          1 kB
          jean carlo rivera ura

        Activity

          People

            Unassigned Unassigned
            carlo_4002 jean carlo rivera ura
            Ahmed ELJAMI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: