hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibault Dory <dory.thiba...@gmail.com>
Subject org.apache.hadoop.hbase.mapreduce.TableSplit cannot be cast to org.apache.hadoop.mapred.InputSplit
Date Mon, 14 Mar 2011 10:05:26 GMT
Hello,

I'm trying to run a MapReduce job on a Hadoop cluster 0.20.2 using
the hadoop-core-0.20-append-r1056497.jar from HBase 0.90.0 but when I start
the job I run into this error :

2011-03-13 14:48:22,935 INFO org.apache.hadoop.mapred.TaskInProgress: Error
from attempt_201103131344_0016_m_000081_3: java.lang.ClassCastException:
org.apache.hadoop.hbase.mapreduce.TableSplit cannot be cast to
org.apache.hadoop.mapred.InputSplit
        at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:323)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
        at org.apache.hadoop.mapred.Child.main(Child.java:170)

It looks like hadoop is using the old mapred API instead of the new
mapreduce one. The HBase jar files are provided in the Hadoop path.

The code of the MapReduce job can be seen here :
https://github.com/toflames/Wikipedia-noSQL-Benchmark/blob/master/src/hbase_mapreduce/MapReduceHbaseDB.java

HBase is working well for read/write/update operations.

Any idea of what could be causing this?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message