Get custom counters from MapReduceJob ?

Jul 8, 2013 at 12:51 AM
I'm trying to find a way to get counters from a map reduce job.

When using StreamingUnit, I can do:
var job = StreamingUnit.Execute<MyJob>(input);
var counter = job.MapperCounters["Custom|{counter}"]
I can't seem to find the corresponding information from the MapReduceJob:
var hadoop = Hadoop.Connect();
var job = hadoop.MapReduceJob.ExecuteJob<MyJob>();
// ?? How to get counters from "job" ?
Jul 19, 2013 at 1:16 PM
I think counters is not accessable at client side. But the Counters can be found on the admin web page in the job details.