nathanmarz/cascalog — Issue #48: (??- (memory-source-tap [[1]])) fails in 1.9.0-wip
Author: sritchie
Created: 2012-01-24 07:34:01+00:00
State: open
Labels: Bug

This is due to a Cascading 2.0 bug in the way taps are initialized. From my bug report to Cascading:

> 1) SourceTap seems to be ignoring my `MemorySourceTap` scheme's `sourceConfInit` method. I'm setting the InputFormat [here](https://github.com/nathanmarz/cascalog/blob/feature/cascading2/src/jvm/cascalog/MemorySourceTap.java#L60). I did some debugging, and by the time I get to [sourcePrepare](https://github.com/nathanmarz/cascalog/blob/feature/cascading2/src/jvm/cascalog/MemorySourceTap.java#L72), the inputFormat has turned into `org.apache.hadoop.mapred.TextInputFormat` (as reported by `System.out.println("Input Format:" + flowProcess.getJobConf().getInputFormat());`).