Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3926

"Stream already closed" exceptions from Thrift connections

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      None

      Description

      Noticed this frequently during randomwalk:

      29 05:20:17,446 [transport.TIOStreamTransport] WARN : Error closing output stream.
      java.io.IOException: The stream is closed
              at org.apache.hadoop.net.SocketOutputStream.write(SocketOutputStream.java:118)
              at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
              at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
              at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
              at org.apache.thrift.transport.TIOStreamTransport.close(TIOStreamTransport.java:110)
              at org.apache.thrift.transport.TFramedTransport.close(TFramedTransport.java:89)
              at org.apache.accumulo.core.client.impl.ThriftTransportPool$CachedTTransport.close(ThriftTransportPool.java:309)
              at org.apache.accumulo.core.client.impl.ThriftTransportPool.returnTransport(ThriftTransportPool.java:571)
              at org.apache.accumulo.core.rpc.ThriftUtil.returnClient(ThriftUtil.java:147)
              at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator.doLookup(TabletServerBatchReaderIterator.java:686)
              at org.apache.accumulo.core.client.impl.TabletServerBatchReaderIterator$QueryTask.run(TabletServerBatchReaderIterator.java:349)
              at org.apache.htrace.wrappers.TraceRunnable.run(TraceRunnable.java:57)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elserj Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: