hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nan Zhu <zhunans...@gmail.com>
Subject Access Hadoop Counters
Date Tue, 30 Oct 2012 03:49:04 GMT
Hi, all 

I noticed that in FileInputFormat and FileOutputFormat classes, there are counters(Counter's
name?) for input and output data size, 

my question is that given a JobInProgress object, e.g. jip, after I get the corresponding
object by 

FileInputFormat fif = (FileInputFormat) jip.getConf().getInputFormat();
FileOutputFormat fof = (FileOutputFormat) jip.getConf().getOutputputFormat();

How can I access the values of the counters?

Best, 

-- 
Nan Zhu
School of Computer Science,
McGill University



Mime
View raw message