I recently performed an upgrade of HBase from 0.19.1 to 0.20.0. I had
a working piece of code that used HBaseTap for the earlier version of
HBase. After the upgrade, I got the HBaseTap for HBase 0.20.0 from -
http://github.com/cwensel/cascading.hbase/network
However, on using this code, I get the following error -
Testcase: testFlow took 8.399 sec
Caused an ERROR
flow failed: AP
cascading.cascade.CascadeException: flow failed: AP
at cascading.cascade.Cascade$CascadeJob.call(Cascade.java:428)
at cascading.cascade.Cascade$CascadeJob.call(Cascade.java:369)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: cascading.flow.FlowException: unhandled exception
at cascading.flow.Flow.complete(Flow.java:607)
at cascading.cascade.Cascade$CascadeJob.call(Cascade.java:419)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
class org.apache.hadoop.hbase.mapreduce.TableOutputFormat not
org.apache.hadoop.mapred.OutputFormat
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:
840)
at org.apache.hadoop.mapred.JobConf.getOutputFormat(JobConf.java:488)
at org.apache.hadoop.mapred.JobClient.submitJobInternal
(JobClient.java:772)
at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730)
at cascading.flow.FlowStep$FlowStepJob.call(FlowStep.java:470)
at cascading.flow.FlowStep$FlowStepJob.call(FlowStep.java:409)
Caused by: java.lang.RuntimeException: class
org.apache.hadoop.hbase.mapreduce.TableOutputFormat not
org.apache.hadoop.mapred.OutputFormat
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:
834)
----------------------------------------------------------------------------------------------------------------
Any ideas on what might be causing this ??