On Oct 10, 2008, at 12:52 AM, Edward J. Yoon wrote:

Hi,

To get a number of reduce_output_records, I was write code as:

   long rows = rJob.getCounters().findCounter(
"org.apache.hadoop.mapred.Task$Counter", 8, "REDUCE_OUTPUT_RECORDS")
       .getCounter();


http://hadoop.apache.org/core/docs/r0.18.1/api/org/apache/hadoop/mapred/Counters.html#findCounter(java.lang.Enum)

Arun

I want to know other method to get it since findCounter(String group,
int id, String name) is deprecated.

--
Best regards, Edward J. Yoon
[EMAIL PROTECTED]
http://blog.udanax.org

Reply via email to