I wonder if there is any follow up on this issue, i.e., a put can return a
timestamp of the record? Thanks!
Best Regards,
Wei
From: Wei Tan/Watson/IBM
To: user@hbase.apache.org,
Date: 08/02/2012 12:37 PM
Subject:RE: Retrieve Put timestamp
+1.
So far I think timestamp
: Ramkrishna.S.Vasudevan ramkrishna.vasude...@huawei.com
To: user@hbase.apache.org,
Date: 08/02/2012 12:54 AM
Subject:RE: Retrieve Put timestamp
+1. Anyway all mutations extends OperationsWithAttributes also.
Regards
Ram
-Original Message-
From: Anoop Sam John [mailto:anoo
There is no HBase API for this.
However, this could useful in some scenario, so maybe we could add an API for
this.
It's not entirely trivial, though.
From: Pablo Musa pa...@psafe.com
To: user@hbase.apache.org user@hbase.apache.org
Sent: Monday, July 30, 2012
On Wed, Aug 1, 2012 at 7:12 PM, Wei Tan w...@us.ibm.com wrote:
We have a similar requirement and here is the solution in our mind:
add a coprocessor, in prePut() get the current ms and set it to put ---
the current implementation get the current ms and set it in put()
return the ms generated
...@duboce.net]
Sent: Thursday, August 02, 2012 3:41 AM
To: user@hbase.apache.org
Subject: Re: Retrieve Put timestamp
On Wed, Aug 1, 2012 at 7:12 PM, Wei Tan w...@us.ibm.com wrote:
We have a similar requirement and here is the solution in our mind:
add a coprocessor, in prePut() get the current ms and set
+1. Anyway all mutations extends OperationsWithAttributes also.
Regards
Ram
-Original Message-
From: Anoop Sam John [mailto:anoo...@huawei.com]
Sent: Thursday, August 02, 2012 10:13 AM
To: user@hbase.apache.org
Subject: RE: Retrieve Put timestamp
Currently in Append
What do you mean by using TS as version? Are you determining the ts long value
before and then setting it in the Put object? If so, I think you can use a
specific cell as a counter (Sequence in Oracle language, or Auto Increment
column in MySQL). In that case of course you need the value of the
On Mon, Jul 30, 2012 at 11:13 PM, Pablo Musa pa...@psafe.com wrote:
Hey guys,
in my application the HBase timestamp is used as version in my logic.
I would like to know what is the best way to insert a new record and get its
timestamp.
I have come up with two possibilities:
/* I could
@hbase.apache.org
Subject: Re: Retrieve Put timestamp
On Mon, Jul 30, 2012 at 11:13 PM, Pablo Musa pa...@psafe.com wrote:
Hey guys,
in my application the HBase timestamp is used as version in my logic.
I would like to know what is the best way to insert a new record and get its
timestamp.
I have