Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> HBASE-7114 Increment does not extend Mutation but probably should

Ted Yu 2013-01-23, 18:25
lars hofhansl 2013-01-24, 02:23
Amit Sela 2013-01-24, 11:37
Ted Yu 2013-01-26, 00:39
Amit Sela 2013-01-26, 15:31
Asaf Mesika 2013-01-26, 16:40
Infolinks 2013-01-26, 16:53
Copy link to this message
Re: HBASE-7114 Increment does not extend Mutation but probably should
Why not have the Increment object have two columns: one for the country and
one for the allCountries ?

Sent from my iPhone

On 26 בינו 2013, at 18:54, Infolinks <[EMAIL PROTECTED]> wrote:

Yes, of course. It's an all counter for the specific keyword.

ב-26 בינו 2013, בשעה 18:40, Asaf Mesika <[EMAIL PROTECTED]> כתב/ה:

The all counters is on the same row?
By the way, did you guys handle the hbase bug that when an increment is

sent to region server and fails it still does it but throws an exception to

the client which causes it to do that increment again?

Sent from my iPhone
On 26 בינו 2013, at 17:32, Amit Sela <[EMAIL PROTECTED]> wrote:
Well, I increment counters where the row key is a keyword and the qualifier

is a country code, and in the post increment region observer I increment an

"all countries" aggregative counter. These counters are divided to families

such as daily, weekly, hourly etc.

So I get the family map to know which aggregative counter should I

increment, then I piggyback onto the Result the "all countries" current


On Jan 26, 2013 2:39 AM, "Ted Yu" <[EMAIL PROTECTED]> wrote:
Can you tell us what operation you perform on the returned family map ?


On Thu, Jan 24, 2013 at 3:37 AM, Amit Sela <[EMAIL PROTECTED]> wrote:

I'm using Increment.getFamilyMap in a postIncrement Observer.
I'm running with HBase 0.94.2.


On Thu, Jan 24, 2013 at 4:23 AM, lars hofhansl <[EMAIL PROTECTED]> wrote:

The reason was that Increment was serialized differently (compared to
other mutations).
In trunk that is no longer an issue, since the serialization logic is
longer part of the object to be serialized.
-- Lars

Sent: Wednesday, January 23, 2013 10:25 AM
Subject: HBASE-7114 Increment does not extend Mutation but probably

I want to get opinion on whether we should proceed with HBASE-7114
'Increment does not extend Mutation but probably should' in trunk.

Is anyone using Increment.setWriteToWAL or Increment.getFamilyMap ?
For Increment.setWriteToWAL, are you using the Increment returned ?

Your feedback would be appreciated.
Amit Sela 2013-01-26, 18:01
Asaf Mesika 2013-01-26, 18:30
Amit Sela 2013-01-26, 18:40
Ted Yu 2013-02-26, 05:28
Amit Sela 2013-01-26, 15:14
Andrew Purtell 2013-01-26, 18:51
Amit Sela 2013-01-26, 19:08