hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Gets a number of reduce_output_records
Date Fri, 10 Oct 2008 07:52:10 GMT
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();

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

-- 
Best regards, Edward J. Yoon
edwardyoon@apache.org
http://blog.udanax.org

Mime
View raw message