There is a method on the table to increment values:
someHBaseTable.incrementColumnValue()
Look it up in the javadocs.
On Sun, May 9, 2010 at 10:03 AM, Lior Schachter wrote:
> Hi,
>
> Suppose I want to keep aggregated data (e.g. counters) per day for a year
> or
> so (this way I can query hbase
I am using Hbase to store visitor level clickstream-like data. At the
beginning of the visitor session I retrieve all the previous session data
from hbase and use it within my app server and massage it a little and serve
to the consumer via web services. Where I think you will run into the most
p
I am no expert, but I am doing something very similar i.e. tracking user
sessions within Hbase.
2 tables:
Table 1: 'Users'
Column Family 1: WebPages
Columns: Page Names
RowId=UserId
For a given userid, you could retrieve the pages visited, the number of
times (watch out for versions), and the f
You owe me big time, Keith.
2 snippets:
*
static* *private* HTablePool *hbase* = *getTablePool*();
HBaseConfiguration config = *new* HBaseConfiguration();
config.addResource(*new* Path("/home/user/configdata/system/hbase-site.xml"
));
Later i use the config:
HTable table=*null*;
Result r=*nu
wn pool or
creating another process that requires a thread. It seemed on my earlier
tests with 0.19 that instantiating Htable and HBaseConfuguration() had
significant overhead i.e. >25ms.
I will file an issue.
Thanks.
On Tue, Sep 15, 2009 at 5:52 PM, stack wrote:
> On Tue, Sep 15, 2009 at
Hopefully I am doing something wrong and y'all can help me see it.
I am working on an application that utilizes Hbase for real-time queries.
The dependency on Hbase is not critical so if HBase is not available for any
reason the application should continue on doing its job without the data
from Hb