.
-- Lars
From: Jean-Marc Spaggiari jean-m...@spaggiari.org
To: user user@hbase.apache.org
Sent: Sunday, January 27, 2013 8:51 AM
Subject: Tables vs CFs vs Cs
Hi,
Let's imagine this scenario.
I want to store IPs with counters. And I want to have
I would go on using the row-key, on one table.
= Row Key Structure =
group-depthA groupB groupC groupD group
group-depth: 1..4, encoded as 1 byte
A-D group; encoded as 1 byte and not as string
Examples:
1192
2192168
31921681
4192168110
Column Qualifier: c - stands for counters
Column
Hi,
Let's imagine this scenario.
I want to store IPs with counters. And I want to have counters by
groups of IPs. All of that will be calculated with MR jobs and stored
in HBase.
Let's take some IPs and make sure they are ordered by adding some 0
when required.
037.113.031.119
058.022.018.176
with 109.169 and stop 109.169\0.
-- Lars
From: Jean-Marc Spaggiari jean-m...@spaggiari.org
To: user user@hbase.apache.org
Sent: Sunday, January 27, 2013 8:51 AM
Subject: Tables vs CFs vs Cs
Hi,
Let's imagine this scenario.
I want to store IPs with counters
.
-- Lars
From: Jean-Marc Spaggiari jean-m...@spaggiari.org
To: user user@hbase.apache.org
Sent: Sunday, January 27, 2013 8:51 AM
Subject: Tables vs CFs vs Cs
Hi,
Let's imagine this scenario.
I want to store IPs with counters. And I want to have counters
: Jean-Marc Spaggiari jean-m...@spaggiari.org
To: user@hbase.apache.org; lars hofhansl la...@apache.org
Sent: Sunday, January 27, 2013 9:37 AM
Subject: Re: Tables vs CFs vs Cs
What I would like is to have a faster (direct?) access to the number
of entries starting with 058.
For IPv4 it's 0 to 255
...@apache.org
Sent: Sunday, January 27, 2013 9:37 AM
Subject: Re: Tables vs CFs vs Cs
What I would like is to have a faster (direct?) access to the number
of entries starting with 058.
For IPv4 it's 0 to 255, so working fine. For for IPv6, it can take a
while to scan the full range and aggregate