hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Duplicate Value Inserts in HBase
Date Tue, 21 Oct 2014 12:32:02 GMT
Hi Krishna,

HBase will store them in the same row, same cell but you will have 2
versions. If you want to keep just one, setup the version=1 on the table
side and only one will be stored. Is that what yo mean?

JM

2014-10-21 8:29 GMT-04:00 Krishna Kalyan <krishnakalyan3@gmail.com>:

> Hi,
> I have a HBase table which is populated from pig using PigStorage.
> While inserting, suppose for rowkey i have a duplicate value.
> Is there a way to prevent an update?.
> I want to maintain the version history for my values which are unique.
>
> Regards,
> Krishna
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message