kevinweil/elephant-bird — pull request #390 by jcoveney (2014-05-13 18:24:15+00:00)
Title: Use ReporterWrapper in DeprecatedOutputFormatWrapper

This uses the work introduced in: https://github.com/kevinweil/elephant-bird/pull/230

Currently, cascading sometimes throws

```
Caused by: java.lang.ClassCastException: org.apache.hadoop.mapred.Reporter$1 cannot be cast to org.apache.hadoop.mapreduce.StatusReporter
at com.twitter.elephantbird.mapred.output.DeprecatedOutputFormatWrapper$RecordWriterWrapper.(DeprecatedOutputFormatWrapper.java:98)
at com.twitter.elephantbird.mapred.output.DeprecatedOutputFormatWrapper.getRecordWriter(DeprecatedOutputFormatWrapper.java:84)
at cascading.tap.hadoop.io.TapOutputCollector.initialize(TapOutputCollector.java:114)
at cascading.tap.hadoop.io.TapOutputCollector.(TapOutputCollector.java:90)
at cascading.tap.hadoop.io.TapOutputCollector.(TapOutputCollector.java:78)
at cascading.tap.hadoop.TemplateTap.createTupleEntrySchemeCollector(TemplateTap.java:252)
at cascading.tap.BaseTemplateTap$TemplateCollector.getCollector(BaseTemplateTap.java:78)
at cascading.tap.BaseTemplateTap$TemplateCollector.collect(BaseTemplateTap.java:162)
at cascading.tuple.TupleEntryCollector.safeCollect(TupleEntryCollector.java:145)
at cascading.tuple.TupleEntryCollector.add(TupleEntryCollector.java:95)
at cascading.flow.stream.SinkStage.receive(SinkStage.java:90)
... 16 more
```

This should fix this. Note that I need to do some local testing, but I'm starting the PR to get the CI running while I do so.