hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GUOJUN Zhu <guojun_...@freddiemac.com>
Subject no log function for map/red in a cluster setup
Date Mon, 27 Feb 2012 16:34:48 GMT
Hi. 

We are testing hadoop.  We are using hadoop (0.20.2-cdh3u3).  I am using 
the cotomized conf directory with -"-config mypath".  I modified the 
log4j.properties file in this path, adding "
log4j.logger.com.mycompany=DEBUG".   It works fine with our 
pseudo-one-node-cluster setup (1.00).  But in the new cluster (with 32 
data nodes/name node/secondary namenode/jobtracker/backup jobtracker), I 
can only see the log from hadoop (in the web interface, when I navigate 
all the way into the task node log), but no logs from my mapper/reducer 
(com.mycompany.***) show up.  I can do System.out.println or 
System.err.println and see them in the same log file,  but no logs from 
log4j show up.  Is there any other configuration I missed?  Thanks. 

Zhu, Guojun
Modeling Sr Graduate
571-3824370
guojun_zhu@freddiemac.com
Financial Engineering
Freddie Mac
Mime
View raw message