Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hadoop >> mail # user >> ArrayIndexOutOfBoundsException occurs from MapTask

Copy link to this message
ArrayIndexOutOfBoundsException occurs from MapTask

We are using Hadoop-1.1.1. When run a big workload mapreduce application,
it threw a ArrayIndexOutOfBoundsException as below. Seems the issue was
threw in line 'System.arraycopy(b, off, kvbuffer, bufindex, gaplen);' in
MapTask. I am not familiar with the code of MapTask.java, and want to know
which situations will cause this kind of exception?

Caused by: java.lang.ArrayIndexOutOfBoundsException
        at java.io.DataOutputStream.write(DataOutputStream.java:82)
        at java.io.DataOutputStream.writeInt(DataOutputStream.java:191)

Brahma Reddy Battula 2013-09-12, 01:59
sam liu 2013-09-12, 02:18