hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Verlangen <ro...@us2.nl>
Subject Re: Counters across all jobs
Date Mon, 10 Sep 2012 09:44:32 GMT
Hi Subbu,

You're probably looking for something called "Distributed counters". Take a
look at this question at StackOverflow:
http://stackoverflow.com/questions/2671858/distributed-sequence-number-generation


Best regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E robin@us2.nl

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.



2012/8/28 Kasi Subrahmanyam <kasisubbu440@gmail.com>

> Hi,
>
> I have around 4 jobs running in a controller.
> How can i have a single unique counter present in all the jobs and
> incremented where ever used in a job?
>
> For example:Consider a counter ACount.
> If job1 is incrementing the counter by2 and job3 by 5 and job 4 by 6.
> Can i have the  counter displayed output in the jobtracker as
> job1:2
> job2:2
> job3:7
> job4:13
>
> Thanks,
> Subbu
>
>

Mime
View raw message