You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/07/19 01:48:39 UTC

[jira] [Commented] (DRILL-1159) query a particular row within a csv file caused IllegalStateException

    [ https://issues.apache.org/jira/browse/DRILL-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14067216#comment-14067216 ] 

Chun Chang commented on DRILL-1159:
-----------------------------------

java.lang.IllegalStateException: Attempted to close accountor with 3 buffer(s) still allocatedfor QueryId: 45438be8-b7c7-4554-a061-1383fa2fba0a, MajorFragmentId: 0, MinorFragmentId: 0.


	Total 1 allocation(s) of byte size(s): 16384, at stack location:
		org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:151)
		org.apache.drill.exec.vector.UInt4Vector.allocateNewSafe(UInt4Vector.java:133)
		org.apache.drill.exec.vector.VarCharVector.allocateNewSafe(VarCharVector.java:296)
		org.apache.drill.exec.vector.VarCharVector.allocateNew(VarCharVector.java:275)
		org.apache.drill.exec.vector.RepeatedVarCharVector.allocateNew(RepeatedVarCharVector.java:214)
		org.apache.drill.exec.test.generated.CopierGen4.copyRecords(CopierTemplate2.java:45)
		org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.doWork(RemovingRecordBatch.java:102)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:78)
		org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.innerNext(RemovingRecordBatch.java:96)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:91)
		org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:72)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:65)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:45)
		org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:95)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:91)
		org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
		org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:58)
		org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext(ScreenCreator.java:97)
		org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:48)
		org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:100)
		org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:242)
		java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
		java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
		java.lang.Thread.run(Thread.java:744)


	Total 1 allocation(s) of byte size(s): 16384, at stack location:
		org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:151)
		org.apache.drill.exec.vector.UInt4Vector.allocateNewSafe(UInt4Vector.java:133)
		org.apache.drill.exec.vector.UInt4Vector.allocateNew(UInt4Vector.java:119)
		org.apache.drill.exec.vector.RepeatedVarCharVector.allocateNew(RepeatedVarCharVector.java:212)
		org.apache.drill.exec.test.generated.CopierGen4.copyRecords(CopierTemplate2.java:45)
		org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.doWork(RemovingRecordBatch.java:102)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:78)
		org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.innerNext(RemovingRecordBatch.java:96)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:91)
		org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:72)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:65)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:45)
		org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:95)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:91)
		org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
		org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:58)
		org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext(ScreenCreator.java:97)
		org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:48)
		org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:100)
		org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:242)
		java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
		java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
		java.lang.Thread.run(Thread.java:744)


	Total 1 allocation(s) of byte size(s): 32768, at stack location:
		org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:151)
		org.apache.drill.exec.vector.VarCharVector.allocateNewSafe(VarCharVector.java:290)
		org.apache.drill.exec.vector.VarCharVector.allocateNew(VarCharVector.java:275)
		org.apache.drill.exec.vector.RepeatedVarCharVector.allocateNew(RepeatedVarCharVector.java:214)
		org.apache.drill.exec.test.generated.CopierGen4.copyRecords(CopierTemplate2.java:45)
		org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.doWork(RemovingRecordBatch.java:102)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:78)
		org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.innerNext(RemovingRecordBatch.java:96)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:91)
		org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:72)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:65)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:45)
		org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:95)
		org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:91)
		org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
		org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:58)
		org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext(ScreenCreator.java:97)
		org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:48)
		org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:100)
		org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:242)
		java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
		java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
		java.lang.Thread.run(Thread.java:744)

	org.apache.drill.exec.memory.Accountor.close(Accountor.java:169) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.close(TopLevelAllocator.java:200) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.ops.OperatorContext.close(OperatorContext.java:80) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.record.AbstractRecordBatch.cleanup(AbstractRecordBatch.java:113) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.record.AbstractSingleRecordBatch.cleanup(AbstractSingleRecordBatch.java:92) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.cleanup(RemovingRecordBatch.java:189) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.cleanup(IteratorValidatorBatchIterator.java:154) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.record.AbstractSingleRecordBatch.cleanup(AbstractSingleRecordBatch.java:93) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.cleanup(IteratorValidatorBatchIterator.java:154) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.stop(ScreenCreator.java:177) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:110) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:242) [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
	java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]


> query a particular row within a csv file caused IllegalStateException
> ---------------------------------------------------------------------
>
>                 Key: DRILL-1159
>                 URL: https://issues.apache.org/jira/browse/DRILL-1159
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>            Reporter: Chun Chang
>
> #Mon Jul 14 10:10:52 PDT 2014
> git.commit.id.abbrev=699851b
> I have some data in a csv file format. And the following query caused IllegalStateException:
> 0: jdbc:drill:schema=dfs> select * from dfs.`bugsb.csv` where columns[0]=887;
> Error: exception while executing query (state=,code=0)
> Data is sensitive so not shown here. But I will paste stack.



--
This message was sent by Atlassian JIRA
(v6.2#6252)