I am running a mapreduce task on a local hadoop 2.20 cluster setup on ubuntu 13.04. As per this link on S.O. the output to my system.out.println() statements should go into my $HADOOP_INSTALLATION/logs/userlogs folder. But even after my task finishes , the folder remains empty.
I have tried logging using
1) System.out.println()
2) Logger l = LoggerFactory.getLogger(WordCountPartitioner.class); l.info("###");
But both have no effect on the logs folder. I also tried to use the LogFactory
class but my compiler kept giving an error. Do I need to add any extra jars for it?
Thanks !!