Skip to content

Commit

Permalink
fix cascading 2.0 bump errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenmacbeth committed Jun 7, 2012
1 parent c8ee470 commit cdca707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jvm/elephantdb/cascading/ElephantScheme.java
Expand Up @@ -21,7 +21,7 @@

import java.io.IOException;

public class ElephantScheme extends Scheme<FlowProcess<JobConf>, JobConf, RecordReader, OutputCollector, Object[], Object[]> {
public class ElephantScheme extends Scheme<JobConf, RecordReader, OutputCollector, Object[], Object[]> {
Serializer serializer;
Gateway gateway;

Expand All @@ -38,12 +38,12 @@ public Serializer getSerializer() {

@Override
public void sourceConfInit(FlowProcess<JobConf> flowProcess,
Tap<FlowProcess<JobConf>, JobConf, RecordReader, OutputCollector> tap, JobConf conf) {
Tap<JobConf, RecordReader, OutputCollector> tap, JobConf conf) {
conf.setInputFormat(ElephantInputFormat.class);
}

@Override public void sinkConfInit(FlowProcess<JobConf> flowProcess,
Tap<FlowProcess<JobConf>, JobConf, RecordReader, OutputCollector> tap, JobConf conf) {
Tap<JobConf, RecordReader, OutputCollector> tap, JobConf conf) {
conf.setOutputKeyClass(IntWritable.class); // be explicit
conf.setOutputValueClass( BytesWritable.class ); // be explicit
conf.setOutputFormat(ElephantOutputFormat.class);
Expand Down

0 comments on commit cdca707

Please sign in to comment.