I am trying to test a MapReduce job that uses hcatalog and I have setup a
MiniDFS and MiniMR cluster that hcat can talk to. When I run the MR job I get
the error pasted below. I was wondering if anyone has seen this before and if
hcat can work with a minicluster?
Thanks for your time reading this email.
[INFO] 10:06:38,412 [IPC Server handler 8 on 59865] Server:1391 - IPC Server
handler 8 on 59865, call
addBlock(/user/hive/warehouse/hcatoutputformattest851025226973719/_TEMP/_temporary/_attempt_20110912100550408_0001_r_000000_0/part-r-00000,
DFSClient_attempt_20110912100550408_0001_r_000000_0) from 127.0.0.1:45399:
error: org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease
on
/user/hive/warehouse/hcatoutputformattest851025226973719/_TEMP/_temporary/_attempt_20110912100550408_0001_r_000000_0/part-r-00000
File does not exist. Holder
DFSClient_attempt_20110912100550408_0001_r_000000_0 does not have any open
files.
org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException: No lease on
/user/hive/warehouse/hcatoutputformattest851025226973719/_TEMP/_temporary/_attempt_20110912100550408_0001_r_000000_0/part-r-00000
File does not exist. Holder
DFSClient_attempt_20110912100550408_0001_r_000000_0 does not have any open
files.
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:1483)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:1474)
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1397)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:596)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:523)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1383)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1379)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1377)
[INFO] 10:06:38,434 [JVM Runner jvm_20110912100550408_0001_r_-627366138
spawned.] JvmManager:485 - JVM : jvm_20110912100550408_0001_r_-627366138 exited
with exit code 0. Number of tasks it ran: 0
[INFO] 10:06:40,401 [IPC Server handler 6 on 51891] TaskInProgress:551 - Error
from attempt_20110912100550408_0001_r_000000_0:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.serialize(ColumnarSerDe.java:201)
at
org.apache.hcatalog.rcfile.RCFileOutputDriver.convertValue(RCFileOutputDriver.java:79)
at
org.apache.hcatalog.mapreduce.HCatRecordWriter.write(HCatRecordWriter.java:170)
at
org.apache.hcatalog.mapreduce.HCatRecordWriter.write(HCatRecordWriter.java:39)
at
org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.write(ReduceTask.java:586)
at
org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java:80)
at
com.yahoo.hadoop.hcatalog.qa.functional.testlib.mapreduce.HCatReducer$HCatTestReducer.reduce(HCatReducer.java:42)
at
com.yahoo.hadoop.hcatalog.qa.functional.testlib.mapreduce.HCatReducer$HCatTestReducer.reduce(HCatReducer.java:22)
at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:176)
at
org.apache.hadoop.mapred.ReduceTask.runNewReducer(ReduceTask.java:648)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:416)
at org.apache.hadoop.mapred.Child$4.run(Child.java:259)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
at org.apache.hadoop.mapred.Child.main(Child.java:253