I can't tell what the exact problem is, but it looks like your Hadoop cluster (not Hive) has a setup/configuration problem. Googling ReduceTask$ReduceCopier$GetMapEventsThread.getMapCompletionEvents reveals that other people reported this exception before; see if they found solutions.
From: vaibhav negi [mailto:sssssssena...@gmail.com] Sent: Friday, October 01, 2010 3:38 AM To: hive-user@hadoop.apache.org Subject: Select * from table fails : Killed : java.lang.NullPointerException Hi, I am running Select * from table fails . But reduce task fails giving error :- Ended Job = job_201010011018_0001 with errors FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask 2010-10-01 10:01:38,915 FATAL org.apache.hadoop.mapred.TaskTracker: Task: attempt_201010010859_0005_r_000000_3 - Killed : java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getMapCompletionEvents(ReduceTask.java:2683) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(ReduceTask.java:2605) Vaibhav Negi