Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4041

Random "Buffer has negative reference count" error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: Storage - Parquet
    • Labels:
      None

      Description

      git commit # 39582bd60c9eaaaa9b16aba4f099d434e927e7e5

      After the parquet library update commit, we started seeing the below error randomly causing failures in the Extended Functional Suite.

      Failed with exception
      java.lang.IllegalArgumentException: Buffer has negative reference count.
      	at oadd.com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
      	at oadd.io.netty.buffer.DrillBuf.release(DrillBuf.java:250)
      	at oadd.io.netty.buffer.DrillBuf.release(DrillBuf.java:259)
      	at oadd.io.netty.buffer.DrillBuf.release(DrillBuf.java:259)
      	at oadd.io.netty.buffer.DrillBuf.release(DrillBuf.java:259)
      	at oadd.io.netty.buffer.DrillBuf.release(DrillBuf.java:239)
      	at oadd.org.apache.drill.exec.vector.BaseDataValueVector.clear(BaseDataValueVector.java:39)
      	at oadd.org.apache.drill.exec.vector.NullableIntVector.clear(NullableIntVector.java:150)
      	at oadd.org.apache.drill.exec.record.SimpleVectorWrapper.clear(SimpleVectorWrapper.java:84)
      	at oadd.org.apache.drill.exec.record.VectorContainer.zeroVectors(VectorContainer.java:312)
      	at oadd.org.apache.drill.exec.record.VectorContainer.clear(VectorContainer.java:296)
      	at oadd.org.apache.drill.exec.record.RecordBatchLoader.clear(RecordBatchLoader.java:183)
      	at org.apache.drill.jdbc.impl.DrillResultSetImpl.cleanup(DrillResultSetImpl.java:139)
      	at org.apache.drill.jdbc.impl.DrillCursor.close(DrillCursor.java:333)
      	at oadd.net.hydromatic.avatica.AvaticaResultSet.close(AvaticaResultSet.java:110)
      	at org.apache.drill.jdbc.impl.DrillResultSetImpl.close(DrillResultSetImpl.java:169)
      	at org.apache.drill.test.framework.DrillTestJdbc.executeQuery(DrillTestJdbc.java:233)
      	at org.apache.drill.test.framework.DrillTestJdbc.run(DrillTestJdbc.java:89)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      

        Attachments

          Activity

            People

            • Assignee:
              sphillips Steven Phillips
              Reporter:
              rkins Rahul Kumar Challapalli
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: