hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subroto Sanyal <subrotosan...@huawei.com>
Subject RE: System.out.println in Map / Reduce
Date Tue, 27 Sep 2011 03:18:51 GMT
Hi Arko,


Request you to look into the "userlogs" folder of the corresponding task.

It will have three file sysout, syslog and syserr. Your System.out.println()
will be captured in these files.

The usual location for "userlogs" folder is "${HADOOP_LOG_DIR}/userlogs".


>From MapReduce tutorial at:


*The standard output (stdout) and error (stderr) streams of the task are
read by the TaskTracker and logged to ${HADOOP_LOG_DIR}/userlogs *


Subroto Sanyal


From: Arko Provo Mukherjee [mailto:arkoprovomukherjee@gmail.com] 
Sent: Tuesday, September 27, 2011 5:18 AM
To: mapreduce-user@hadoop.apache.org
Subject: System.out.println in Map / Reduce




I am writing some Map Reduce programs in pseudo-distributed mode.

I am getting some error in my program and would like to debug it.


For that I want to embed some print statements in my Map / Reduce.


But when I am running the mappers, the prints doesn't seem to show up in the


Does the mappers / reducers redirect the prints to some files or are they
suppressed or it is a problem with my program?


Many thanks in advance!

Thanks & regards


View raw message