If you go to the RM UI (usually at http://<RM Machine>:8088/), then you can
see the list of jobs run, click on the History link for your job run, then
the Map link (the Map and Reduce entries won't necessarily look like links,
but they are), then you can look at the logs for each specific task.

-Ray


On Thu, Feb 19, 2015 at 8:46 AM, xeonmailinglist <xeonmailingl...@gmail.com>
wrote:

>  I have this map function that is printing something to the system
> output, but I can't find the output.
>
> Where YARN prints the logs of the function of map and reduce defined by
> the user?
>
> public static class TokenizerMapper
>     extends Mapper<Object, Text, Text, IntWritable>{
>
>         private final static IntWritable one = new IntWritable(1);
>         private Text word = new Text();
>
>         public void map(Object key, Text value, Context context
>                 ) throws IOException, InterruptedException {
>             System.out.println(value.toString());
>             StringTokenizer itr = new StringTokenizer(value.toString());
>             while (itr.hasMoreTokens()) {
>                 word.set(itr.nextToken());
>                 context.write(word, one);
>             }
>         }
>     }
>
> ​
>
>
>

Reply via email to