Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> CF still contains data after deletion


Copy link to this message
-
Re: CF still contains data after deletion
Hi Roger,

I think you are hitting: https://issues.apache.org/jira/browse/HBASE-6564

The above jira was fixed in HBase0.94.1 and later releases. CDH4.1.2 has
HBase0.92.1 so it doesn't contains that fix.

HTH,
Anil Gupta

On Thu, Dec 20, 2012 at 12:43 AM, Roger Miller <[EMAIL PROTECTED]>wrote:

> Hello,
>
> we are currently using Cloudera CDH4.1.2 and have the following problem:
> Assume we have a column family in HBase that already contains data that we
> want to get rid of. In past versions of HBase it was possible to delete
> this CF and re-create it and it contained no data afterwards. Now in
> version 0.92.1-cdh4.1.2 if a CF is re-created with the same name, the data
> is still in this CF.
>
> http://pastebin.com/svUuAQd1
> shows a demo shell session with this behavior.
>
>
> Is the only way to keep a CF but to discard its data to "manually" put a
> delete on every value? Because the advantage of discarding and re-creating
> a CF with messed up data is that this was a very fast solution.
>
> Thanks.
--
Thanks & Regards,
Anil Gupta