Hadoop 0.21 :: job.getCounters() returns null?

2010-07-06 Thread Felix Halim
I tried hadoop 0.21 release candidate. job.waitForCompletion(true); Counters ctrs = job.getCounters(); // here ctrs is null In the previous hadoop version 0.20.2 it worked fine for all times. Is this a bug in 0.21 ? Or i'm missing some settings? Thanks, Felix Halim

Re: Hadoop 0.21 :: job.getCounters() returns null?

2010-07-07 Thread Tom White
Hi Felix, Aaron Kimball hit the same problem - it's being discussed at https://issues.apache.org/jira/browse/MAPREDUCE-1920. Thanks for reporting this. Cheers, Tom On Tue, Jul 6, 2010 at 11:26 AM, Felix Halim wrote: > I tried hadoop 0.21 release candidate. > > job.waitForCompletion(true); > Co

Re: Hadoop 0.21 :: job.getCounters() returns null?

2010-07-07 Thread Felix Halim
Hi Tom, Thanks for notifying. This issue really gives me a hard time circumventing the problem... I even tried the job.submit() and then read the counter asynchronously... But found out that the values are always zero... What Amareshwari Sriramadasu suggested works! I added these 3 parameters i