I had also faced same issue, after chnaging "mapreduce.task.io.sort.mb" from 2047 to 512, then jobs are executed success
It might help in your case also..
From: sam liu [[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2013 9:37 AM
To: [EMAIL PROTECTED]
Subject: 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