Ted,

Our requirements is a bit specific, the row key is timestamp. and we
only need to perverse the latest one week's data, so the data one week
age can been deleted.



On Thu, Oct 14, 2010 at 5:36 AM, Ted Yu <[email protected]> wrote:
> How do you know that all rows in the region to be deleted match your
> criteria for deletion ?
>
> Cheers
>
> On Wed, Oct 13, 2010 at 6:25 AM, Jeff Zhang <[email protected]> wrote:
>
>> Hi all,
>>
>> Since HBase has bulk import, could hbase delete a whole region ?
>> Currently I have to do a scan operation then get the row id and invoke
>> delete operation for each row id, this inefficiency. And internally,
>> one region is just some hdfs files, so invoke some hdfs file deletion
>> is more efficiency.
>>
>> My initial idea is that before deletion of region, the region should
>> first be frozen (flush MemStore to disk, and inhibit any put operation
>> into this region). Then invoke a delete operation on the region, only
>> some hdfs file operation is needed. Not sure whether this is possible
>> and on the roadmap of hbase ?
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>



-- 
Best Regards

Jeff Zhang

Reply via email to