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

Record count not set for this vector container error

    Details

      Description

      This error is randomly seen when executing queries.

      [Error Id: 6a2a49e5-28d9-4587-ab8b-5262c07f8fdc on drill196:31010]

      (java.lang.IllegalStateException) Record count not set for this vector container
      com.google.common.base.Preconditions.checkState():173
      org.apache.drill.exec.record.VectorContainer.getRecordCount():394
      org.apache.drill.exec.record.RecordBatchSizer.<init>():681
      org.apache.drill.exec.record.RecordBatchSizer.<init>():665
      org.apache.drill.exec.physical.impl.common.HashTableTemplate$BatchHolder.getActualSize():441
      org.apache.drill.exec.physical.impl.common.HashTableTemplate.getActualSize():882
      org.apache.drill.exec.physical.impl.common.HashTableTemplate.makeDebugString():891
      org.apache.drill.exec.physical.impl.common.HashPartition.makeDebugString():578
      org.apache.drill.exec.physical.impl.join.HashJoinBatch.makeDebugString():937
      org.apache.drill.exec.physical.impl.join.HashJoinBatch.executeBuildPhase():754
      org.apache.drill.exec.physical.impl.join.HashJoinBatch.innerNext():335
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.record.AbstractRecordBatch.next():109
      org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():63
      org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():137
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.record.AbstractRecordBatch.next():109
      org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():63
      org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():137
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.test.generated.HashAggregatorGen89497.doWork():617
      org.apache.drill.exec.physical.impl.aggregate.HashAggBatch.innerNext():176
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.test.generated.HashAggregatorGen89497.doWork():617
      org.apache.drill.exec.physical.impl.aggregate.HashAggBatch.innerNext():176
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.record.AbstractRecordBatch.next():109
      org.apache.drill.exec.physical.impl.xsort.managed.ExternalSortBatch.loadBatch():403
      org.apache.drill.exec.physical.impl.xsort.managed.ExternalSortBatch.load():354
      org.apache.drill.exec.physical.impl.xsort.managed.ExternalSortBatch.innerNext():299
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.record.AbstractRecordBatch.next():109
      org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():63
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.record.AbstractRecordBatch.next():119
      org.apache.drill.exec.record.AbstractRecordBatch.next():109
      org.apache.drill.exec.record.AbstractUnaryRecordBatch.innerNext():63
      org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext():137
      org.apache.drill.exec.record.AbstractRecordBatch.next():172
      org.apache.drill.exec.physical.impl.BaseRootExec.next():103
      org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():83
      org.apache.drill.exec.physical.impl.BaseRootExec.next():93
      org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():294
      org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():281
      java.security.AccessController.doPrivileged():-2
      javax.security.auth.Subject.doAs():422
      org.apache.hadoop.security.UserGroupInformation.doAs():1595
      org.apache.drill.exec.work.fragment.FragmentExecutor.run():281
      org.apache.drill.common.SelfCleaningRunnable.run():38
      java.util.concurrent.ThreadPoolExecutor.runWorker():1149
      java.util.concurrent.ThreadPoolExecutor$Worker.run():624
      java.lang.Thread.run():748

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppenumarthy Padma Penumarthy
                Reporter:
                ppenumarthy Padma Penumarthy
                Reviewer:
                Karthikeyan Manivannan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: