@@ -0,0 +1,1445 @@
+package edu.uprm.cse.bigdata.p1exam1;%0A%0Aimport org.apache.hadoop.fs.Path;%0Aimport org.apache.hadoop.io.Text;%0Aimport org.apache.hadoop.mapreduce.Job;%0Aimport org.apache.hadoop.mapreduce.lib.input.FileInputFormat;%0Aimport org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;%0A%0A/**%0A * Created by Leo on 4/1/17 - 1:40 PM in exam1-spring-17-big-data-lrsolorzano.%0A */%0Aclass MainExam %7B%0A%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        if (args.length != 2) %7B%0A            System.err.println(%22Usage: MainExam %3Cinput path%3E %3Coutput path%3E%22);%0A            System.exit(-1);%0A        %7D%0A        Job job = Job.getInstance();%0A        deleteOutputFileIfExists(arguments, job);%0A        job.setJarByClass(edu.uprm.cse.bigdata.p1exam1.MainExamI.class);%0A        job.setJobName(%22Exam I%22);%0A        FileInputFormat.addInputPath(job, new Path(args%5B0%5D));%0A        FileOutputFormat.setOutputPath(job, new Path(args%5B1%5D));%0A        job.setMapperClass(edu.uprm.cse.bigdata.p1exam1.ExamMapper.class);%0A        job.setReducerClass(edu.uprm.cse.bigdata.p1exam1.ExamReducer.class);%0A        job.setOutputKeyClass(Text.class);%0A        job.setOutputValueClass(Text.class);%0A        System.exit(job.waitForCompletion(true) ? 0 : 1);%0A%0A    %7D%0A    private void deleteOutputFileIfExists(String%5B%5D args, Job job) throws IOException %7B%0A        final Path output = new Path(args%5B1%5D);%0A        FileSystem.get(output.toUri(), job.getConfiguration()).delete(output, true);%0A    %7D%0A%0A%0A%7D%0A%0A

Create MainExam.java