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 is
: "Ramkrishna.S.Vasudevan"
To: ,
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...@huawei.com]
> Sent: Thursd
+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
>
> Curr
...@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 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
On Wed, Aug 1, 2012 at 7:12 PM, Wei Tan 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 to prePut() t
need to change the behavior of it
Any flaw in this design?
Thanks,
Wei
From: lars hofhansl
To: "user@hbase.apache.org" ,
Date: 08/01/2012 12:37 PM
Subject: Re: Retrieve Put timestamp
There is no HBase API for this.
However, this could useful in some scenario, s
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
To: "user@hbase.apache.org"
Sent: Monday, July 30, 2012 3:13 PM
Subjec
tack
Sent: terça-feira, 31 de julho de 2012 18:12
To: user@hbase.apache.org
Subject: Re: Retrieve Put timestamp
On Mon, Jul 30, 2012 at 11:13 PM, Pablo Musa 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 wa
On Mon, Jul 30, 2012 at 11:13 PM, Pablo Musa 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 force times
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
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 force timestamp, but it is not a good idea since different servers
* write in
11 matches
Mail list logo