hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Changing the key in Hbase
Date Tue, 05 Apr 2011 16:21:07 GMT
On Tue, Apr 5, 2011 at 12:41 AM, Anand <anand_pa10@yahoo.com> wrote:
> Hi,
> I have a case in which i have to change the keys for the values inserted in
> hbase. The cluster is having some 200 million urls. Earlier we have inserted the
> keys by constructing 128 bit hash code for the key string. Now i have to change
> the key alone for those records by changing them into 64 bit hash code and
> maintain the values. Is there any other way to do this other than getting all
> the values one by one and creating a new key and adding the old value to it and
> reinserting??

Yes.  You'll have to reinsert.

View raw message