Skip to content

Commit

Permalink
add simple redirect extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-tran committed Jul 20, 2015
1 parent 951f134 commit f580eab
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -10,7 +10,6 @@
import org.apache.commons.cli.OptionBuilder;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
Expand All @@ -22,7 +21,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import edu.umd.cloud9.io.pair.PairOfInts;
import tuan.hadoop.conf.JobConfig;

public class SimpleRedirect extends JobConfig implements Tool {
Expand Down Expand Up @@ -183,8 +181,8 @@ private void phase1(String wikiFile, int reduceNo, String lang, String output, S
wikiFile, tmp,
WikipediaPageInputFormat.class,
TextOutputFormat.class,
Text.class, PairOfInts.class,
IntWritable.class, IntWritable.class,
LongWritable.class, Text.class,
LongWritable.class, Text.class,
MyMapper.class,
Reducer.class,
reduceNo);
Expand Down

0 comments on commit f580eab

Please sign in to comment.