CarnationWang23 / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 #110

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I was running a job and after about 6000 iterations I get the following error

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

        at edu.uci.ics.pregelix.core.driver.Driver.runJob(Driver.java:150)
        at edu.uci.ics.pregelix.NNClient.run(NNClient.java:85)
        at edu.uci.ics.pregelix.NNVertexMNIST.main(NNVertexMNIST.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksException: Job failed on 
account of:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

        at edu.uci.ics.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:190)
        at edu.uci.ics.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:42)
        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:722)
Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at edu.uci.ics.hyracks.dataflow.std.sort.ExternalSortRunMerger.process(ExternalSortRunMerger.java:143)
        at edu.uci.ics.hyracks.dataflow.std.sort.ExternalSortOperatorDescriptor$MergeActivity$1.initialize(ExternalSortOperatorDescriptor.java:177)
        at edu.uci.ics.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:81)
        at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:226)
        ... 3 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:604)
        at java.util.ArrayList.get(ArrayList.java:382)
        at edu.uci.ics.hyracks.dataflow.std.sort.FrameSorter.flushFrames(FrameSorter.java:129)
        at edu.uci.ics.hyracks.dataflow.std.sort.ExternalSortRunMerger.process(ExternalSortRunMerger.java:99)
        ... 6 more

It looks the error was inside Hyracks/Pregelix and not in the job. 

There was no additional information in the cc or nc logs. 

What version of the product are you using? On what operating system?
Pregelix 0.26, CentOS 5

Original issue reported on code.google.com by write2vi...@gmail.com on 30 May 2013 at 2:38

GoogleCodeExporter commented 8 years ago
Actually, I think I found the reason. 

The tmp folder was full! Please close this issue.  

Vishal 

Original comment by write2vi...@gmail.com on 30 May 2013 at 2:41

GoogleCodeExporter commented 8 years ago
All right:-)

Original comment by buyingyi@gmail.com on 30 May 2013 at 2:51