You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by "Edward J. Yoon" <ed...@apache.org> on 2008/10/10 09:52:10 UTC
Gets a number of reduce_output_records
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
Re: Gets a number of reduce_output_records
Posted by "Edward J. Yoon" <ed...@apache.org>.
Anybody knows?
/Edward
On Fri, Oct 10, 2008 at 4:52 PM, Edward J. Yoon <ed...@apache.org> 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();
>
> 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
>
--
Best regards, Edward J. Yoon
edwardyoon@apache.org
http://blog.udanax.org
Re: Gets a number of reduce_output_records
Posted by Arun C Murthy <ac...@yahoo-inc.com>.
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
> edwardyoon@apache.org
> http://blog.udanax.org