@@ -0,0 +1,1833 @@
+import org.apache.hadoop.io.LongWritable;%0Aimport org.apache.hadoop.io.Text;%0Aimport org.apache.hadoop.mapreduce.Mapper;%0Aimport twitter4j.Status;%0Aimport twitter4j.TwitterException;%0Aimport twitter4j.TwitterObjectFactory;%0A%0Aimport java.io.IOException;%0A%0A/**%0A * Created by Leo on 4/1/17 - 3:10 PM in exam1-spring-17-big-data-lrsolorzano.%0A */%0Apublic class ExamMapper extends Mapper%3CLongWritable, Text, Text, Text%3E %7B%0A    @Override%0A    public void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException %7B%0A        String rawTweet = value.toString();%0A        //String cleanString = value.toString().replaceAll(%22%5B%5EA-Za-z%5C%5Cs%5D%22, %22%22);%0A%0A        try %7B%0A            Status status = TwitterObjectFactory.createStatus(rawTweet);%0A            String tweet = status.getText().toUpperCase();%0A            Long id= status.getId();%0A%0A            if (tweet.contains(%22TRUMP%22))%7B%0A                context.write(new Text(%22TRUMP%22), new Text(id.toString()));%0A            %7D%0A            if (tweet.contains(%22MAGA%22))%7B%0A                context.write(new Text(%22MAGA%22), new Text(id.toString()));%0A            %7D%0A            if (tweet.contains(%22DICTATOR%22))%7B%0A                context.write(new Text(%22DICTATOR%22), new Text(id.toString()));%0A            %7D%0A            if (tweet.contains(%22IMPEACH%22))%7B%0A                context.write(new Text(%22IMPEACH%22), new Text(id.toString()));%0A            %7D%0A            if (tweet.contains(%22DRAIN%22))%7B%0A                context.write(new Text(%22DRAIN%22), new Text(id.toString()));%0A            %7D%0A            if (tweet.contains(%22SWAMP%22))%7B%0A                context.write(new Text(%22SWAMP%22), new Text(id.toString()));%0A            %7D%0A            if (tweet.contains(%22CHANGE%22))%7B%0A                context.write(new Text(%22CHANGE%22), new Text(id.toString()));%0A            %7D%0A        %7D%0A        catch(TwitterException e)%7B%0A%0A        %7D%0A%0A    %7D%0A%7D%0A

Create ExamMapper.java