[ 
https://issues.apache.org/jira/browse/HBASE-22806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902658#comment-16902658
 ] 

Huon Wilson commented on HBASE-22806:
-------------------------------------

I think it's clear that there is _something_ weird going on, because 
{{admin.modifyTable(currentDesc)}} seems like it should do nothing at all (it 
is "modifying" the table to have the same {{TableDescriptor}}), but:

* the cells are _not_ deleted when that call doesn't run 
* the cells are deleted when that call does run

Do you agree that this is unreasonable?

Please confirm whether this is behaviour is correct or not, before we waste 
time trying to fix it.


> 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)

Reply via email to