[
https://issues.apache.org/jira/browse/HBASE-22806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902668#comment-16902668
]
Huon Wilson commented on HBASE-22806:
-------------------------------------
Thanks.
It would only be a waste of time if it wasn't actually a problem (for example,
if we spent two days trying to fix the issue, only for our patch to be rejected
because the current behaviour is correct), so I wanted to make sure we had
confirmation that it was a bug.
> Recreating a deleted column family brings back the deleted cells
> ----------------------------------------------------------------
>
> Key: HBASE-22806
> URL: https://issues.apache.org/jira/browse/HBASE-22806
> Project: HBase
> Issue Type: Bug
> Components: API
> Affects Versions: 2.1.3
> Environment: Scala
> HBase Java Client
> Mac/Linux
> Reporter: Chao
> Priority: Major
>
> Steps to reproduce the bug:
> # Create a table with column family CF
> # Add some cells C1, C2 in CF
> # Remove CF using either:
> ** TableDescriptorBuilder.removeColumnFamily() and Admin.modifyTable()
> ** Admin.deleteColumnFamily()
> # Create CF again
> Expected: no cells (all cells marked as deleted) in CF
> Actual: C1, C2 shows up automatically in CF
> Extra information: in step 3, if doing Admin.modifyColumnFamily() without
> actually changing anything, then after step 4 the cells won't come back.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)