Inline.

J-D

On Thu, Jul 29, 2010 at 8:54 AM, Ferdy Galema <[email protected]> wrote:
> Using Hbase 0.20.5 with Hadoop CDH2 0.20.1+169.89 I noticed something very
> strange.
>
> When overwriting a certain column in a column family with 1 VERSIONS, and
> removing that value later (for example after several minutes) the older
> value still shows when listing all the KeyValues of the row. Although it has
> the previous value and timestamp, I wasn't expecting a value at all since my
> column family definition says VERSIONS is 1. Deleting the column with or
> without timestamp does not make a difference.

If you use Delete.deleteColumn, it's the expected behavior as the
delete will only mask the latest value.

>
> Perhaps the previous value was restored because there had not been a
> compaction yet? So that ONLY after the compaction the previous value is
> truely gone?

After a major compaction actually.

>
> Is it by design or bug? If it is by design, I would certainly recommend
> exposing this fact by somehow explaining that VERSIONS is the "minimum"
> number of versions that will be stored; in some cases there are more
> versions.

It's by design, please see https://issues.apache.org/jira/browse/HBASE-2406.

>
> Ferdy.
>

Reply via email to