You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Amit Sela <am...@infolinks.com> on 2012/04/24 10:26:23 UTC
Overwriting qualifiers in an existing table
Hi all,
I'm trying to change the qualifiers of ALL of the entries in my table.
Until now my qualifiers had a header, and now I wanna get rid of it - this
actually means removing the first 5 bytes.
Are there any suggestions about the best way to do this for the whole table
(every row...)
Thanks,
Amit.
Re: Overwriting qualifiers in an existing table
Posted by Ian Varley <iv...@salesforce.com>.
Map/Reduce jobs are generally the best approach for working with every row in a table. You can read all about it here:
http://hbase.apache.org/book.html#mapreduce
I've never tried doing the specific scenario you're describing, but seems like it should work; you could change the example in 7.2.2 to Put your new qualifier, and Delete your old one. Try it, and if you're stumped, post a more detailed question about it here.
Thanks!
Ian
On Apr 24, 2012, at 1:26 AM, Amit Sela wrote:
Hi all,
I'm trying to change the qualifiers of ALL of the entries in my table.
Until now my qualifiers had a header, and now I wanna get rid of it - this
actually means removing the first 5 bytes.
Are there any suggestions about the best way to do this for the whole table
(every row...)
Thanks,
Amit.