hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Dimiduk <ndimi...@gmail.com>
Subject Re: Replacing a full Row content in HBase
Date Thu, 20 Nov 2014 11:48:44 GMT
Attachements are filtered from the list. Please include a link if you'd
like to share some attachment.

On Thu, Nov 20, 2014 at 11:46 AM, Sznajder ForMailingList <
bs4mailinglist@gmail.com> wrote:

> Hi Nick
>
> Many thanks for your rapid answer!
>
> By "unpredictable results", I mean that I do not get the expected value in
> the row, after the new Put call (after Delete).
>
> I tried to call a delete before a put  (see the attached file)
>
> And I get some weird results: after iterations, I start to get some "empty
> content".
>
> Apparently, "Delete" and "Put" on a same key are not well supported....
>
> Benjamin
>
> On Thu, Nov 20, 2014 at 11:40 AM, Nick Dimiduk <ndimiduk@gmail.com> wrote:
>
>> What does "unpredictable results" mean? If you know all the existing
>> qualifiers, just provide new values of all of them in a single put. If you
>> don't, you can use a delete family marker to clear visibility of an entire
>> family. I think you'll need to do this separately from writing the new
>> values.
>>
>> On Thu, Nov 20, 2014 at 9:17 AM, Sznajder ForMailingList <
>> bs4mailinglist@gmail.com> wrote:
>>
>> > Hi,
>> >
>> > I would like to **replace** the whole content of a Row in HBase by some
>> new
>> > content.
>> > However:
>> > * Simple *put* call just replaces the cells in the new put row.
>> > * I thought to call Delete and then Put, and I get some very
>> unpredictable
>> > results...
>> >
>> > Is there a solution for replacing the whole content of a Row?
>> >
>> > Many thanks!
>> >
>> > Benjamin
>> >
>>
>
>

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