package matrixbuilder;
//import mutipleInput.Join;
import java.util.*;
import java.io.*;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
//import org.apache.hadoop.mapreduce.Mapper.Context;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.input.MultipleInputs;
import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org.apache.hadoop.util.Tool;
import org.apache.hadoop.util.ToolRunner;
import org.apache.hadoop.util.GenericOptionsParser;

import org.apache.hadoop.fs.Path;
import org.apache.hadoop.conf.*;
import org.apache.hadoop.io.*;
//import org.apache.hadoop.mapred.*;
import org.apache.hadoop.util.*;

import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org.apache.hadoop.util.GenericOptionsParser;

public class MatrixBuilder extends Configured implements Tool{

  public int run(String[] args) throws Exception{
    Configuration conf = new Configuration();

    Job job = Job.getInstance(conf, "word count");
    job.setJarByClass(MatrixBuilder.class);
    job.setReducerClass(MatrixBuilderReducer.class);
    job.setOutputKeyClass(IntWritable.class);
    job.setOutputValueClass(IntWritable.class);

    //FileInputFormat.addInputPath(job, new Path());
    MultipleInputs.addInputPath(job,new Path("/Files/EdgeCount",EdgeCountFileMapper.class));
    MultipleInputs.addInputPath(job,new Path("/Input/edges",EdgeMapper.class));
    FileOutputFormat.setOutputPath(job, new Path("/Output/A"));

    return (job.waitForCompletion(true) ? 0 : 1);
  }

  public static void main(String[] args) throws Exception {
    int ecode = ToolRunner.run(new multiply(),args);
		System.exit(ecode);
  }
}

@@ -1834,16 +1834,17 @@
 geCount%22
+)
 ,EdgeCou
@@ -1845,20 +1845,16 @@
 dgeCount
-File
 Mapper.c
@@ -1854,25 +1854,24 @@
 apper.class)
-)
 ;%0A    Multip
@@ -1919,16 +1919,17 @@
 t/edges%22
+)
 ,EdgeMap
@@ -1938,17 +1938,16 @@
 r.class)
-)
 ;%0A    Fi

Fix the run()function's MultipleInput function calls