Take a look at the following method in HTable:
* @return The new value, post increment.
* @throws IOException if a remote or network exception occurs.
*/
long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier,
long amount) throws IOException;
On Thu, May 2, 2013 at 9:19 AM, Gaetan Deputier <[email protected]> wrote:
> Hello Hbase users,
>
> I have a question about counters. Is there any way to synchronize counter
> values between mappers ?
>
> E.g : I have a counter i incremented at each map call and I would like to
> stop each mapper once i has reached a threshold.
>
> Sincerely,
>
> G.
>