Re: How to config hbase0.94.2 to retain deleted data

2012-10-23 Thread Michael Segel
. -- Lars From: Michael Segel michael_se...@hotmail.com To: user@hbase.apache.org; lars hofhansl lhofha...@yahoo.com Sent: Monday, October 22, 2012 9:18 PM Subject: Re: How to config hbase0.94.2 to retain deleted data Curious, why do you think this is better than using the keep-deleted-cells

Re: How to config hbase0.94.2 to retain deleted data

2012-10-23 Thread lars hofhansl
23, 2012 4:41 AM Subject: Re: How to config hbase0.94.2 to retain deleted data Deleted cells are still subject to TTL and there will never be more than maximum number of versions deleted cells. A new raw scan options returns all deleted rows and the delete markers. This is different from

Re: How to config hbase0.94.2 to retain deleted data

2012-10-23 Thread Michael Segel
correct as-of-time queries when it comes to deletes. -- Lars From: Michael Segel michael_se...@hotmail.com To: user@hbase.apache.org; lars hofhansl lhofha...@yahoo.com Sent: Monday, October 22, 2012 9:18 PM Subject: Re: How to config hbase0.94.2 to retain deleted data Curious, why do you

Re: How to config hbase0.94.2 to retain deleted data

2012-10-23 Thread lars hofhansl
hofhansl lhofha...@yahoo.com Sent: Tuesday, October 23, 2012 11:40 AM Subject: Re: How to config hbase0.94.2 to retain deleted data Lars, No, that is not what I am suggesting. Perhaps I am missing something. Was the OP interested in cells or in row deletes.? Two different issues. On Oct 23

Re: How to config hbase0.94.2 to retain deleted data

2012-10-23 Thread PG
-- Lars - Original Message - From: yun peng pengyunm...@gmail.com To: user@hbase.apache.org Cc: Sent: Sunday, October 21, 2012 5:20 PM Subject: Re: How to config hbase0.94.2 to retain deleted data Hi, Lars, that is great point. It works if I update the tabledescriptor

Re: How to config hbase0.94.2 to retain deleted data

2012-10-22 Thread Michael Segel
Cc: Sent: Sunday, October 21, 2012 4:34 PM Subject: Re: How to config hbase0.94.2 to retain deleted data I would suggest that you use your coprocessor to copy the data to a 'backup' table when you mark them for delete. Then as major compaction hits, the rows are deleted from the main table

Re: How to config hbase0.94.2 to retain deleted data

2012-10-22 Thread lars hofhansl
, October 22, 2012 9:18 PM Subject: Re: How to config hbase0.94.2 to retain deleted data Curious, why do you think this is better than using the keep-deleted-cells feature? (It might well be, just curious) Ok... so what exactly does this feature mean? Suppose I have 500 rows within a region

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread lars hofhansl
peng pengyunm...@gmail.com To: user@hbase.apache.org Cc: Sent: Sunday, October 21, 2012 1:53 PM Subject: How to config hbase0.94.2 to retain deleted data Hi, All, I want to retain all deleted key-value pairs in hbase. I have tried to config HColumnDescript as follow to make it return deleted

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread Michael Segel
I would suggest that you use your coprocessor to copy the data to a 'backup' table when you mark them for delete. Then as major compaction hits, the rows are deleted from the main table, but still reside undeleted in your delete table. Call it a history table. On Oct 21, 2012, at 3:53 PM,

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread yun peng
peng pengyunm...@gmail.com To: user@hbase.apache.org Cc: Sent: Sunday, October 21, 2012 1:53 PM Subject: How to config hbase0.94.2 to retain deleted data Hi, All, I want to retain all deleted key-value pairs in hbase. I have tried to config HColumnDescript as follow to make it return deleted

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread lars hofhansl
be, just curious) -- Lars - Original Message - From: Michael Segel michael_se...@hotmail.com To: user@hbase.apache.org Cc: Sent: Sunday, October 21, 2012 4:34 PM Subject: Re: How to config hbase0.94.2 to retain deleted data I would suggest that you use your coprocessor to copy

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread Michael Segel
the keep-deleted-cells feature? (It might well be, just curious) -- Lars - Original Message - From: Michael Segel michael_se...@hotmail.com To: user@hbase.apache.org Cc: Sent: Sunday, October 21, 2012 4:34 PM Subject: Re: How to config hbase0.94.2 to retain deleted data I

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread Marcos Ortiz Valmaseda
+1 for this solution. A history table can solve this with less troubles - Mensaje original - De: Michael Segel michael_se...@hotmail.com Para: user@hbase.apache.org Enviado: Sun, 21 Oct 2012 19:34:04 -0400 (CDT) Asunto: Re: How to config hbase0.94.2 to retain deleted data I would suggest

Re: How to config hbase0.94.2 to retain deleted data

2012-10-21 Thread lars hofhansl
- Original Message - From: yun peng pengyunm...@gmail.com To: user@hbase.apache.org Cc: Sent: Sunday, October 21, 2012 1:53 PM Subject: How to config hbase0.94.2 to retain deleted data Hi, All, I want to retain all deleted key-value pairs in hbase. I have tried to config HColumnDescript