hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xeonmailinglist <xeonmailingl...@gmail.com>
Subject Can't find logs in YARN
Date Thu, 19 Feb 2015 16:46:50 GMT
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 {
             StringTokenizer itr = new StringTokenizer(value.toString());
             while (itr.hasMoreTokens()) {
                 context.write(word, one);


View raw message