[jira] [Comment Edited] (HBASE-6942) Endpoint implementation for bulk delete rows

2012-10-15 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan edited comment on HBASE-6942 at 10/15/12 1:28 PM:
-

One thing we should add in the javadoc is how many kvs the scan returns.  This 
should not be very huge and it should not impact the RS heap.
Users should be careful and i remember there was mail thread talking about 
limiting the memory that is used by Endpoints.

Missed a 'not'

  was (Author: ram_krish):
One thing we should add in the javadoc is how many kvs the scan returns.  
This should not be very huge and it should impact the RS heap.
Users should be careful and i remember there was mail thread talking about 
limiting the memory that is used by Endpoints.
  
> Endpoint implementation for bulk delete rows
> 
>
> Key: HBASE-6942
> URL: https://issues.apache.org/jira/browse/HBASE-6942
> Project: HBase
>  Issue Type: Improvement
>  Components: Coprocessors, Performance
>Reporter: Anoop Sam John
>Assignee: Anoop Sam John
> Fix For: 0.94.3, 0.96.0
>
> Attachments: HBASE-6942.patch, HBASE-6942_V2.patch, 
> HBASE-6942_V3.patch, HBASE-6942_V4.patch, HBASE-6942_V5.patch
>
>
> We can provide an end point implementation for doing a bulk deletion of 
> rows(based on a scan) at the server side. This can reduce the time taken for 
> such an operation as right now it need to do a scan to client and issue 
> delete(s) using rowkeys.
> Query like  delete from table1 where...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (HBASE-6942) Endpoint implementation for bulk delete rows

2012-10-14 Thread Lars Hofhansl (JIRA)

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

Lars Hofhansl edited comment on HBASE-6942 at 10/15/12 4:54 AM:


For the V4 patch. You do not need to check all the operationStatus', you can 
break out of the loop as soon as you find the first status that is not success.

Can do that on commit. +1 on the rest of the patch.

Edit: Forgot a "not" in the 2nd sentence.

  was (Author: lhofhansl):
For the V4 patch. You do need to check all the operationStatus', you can 
break out of the loop as soon as you find the first status that is not success.

Can do that on commit. +1 on the rest of the patch.
  
> Endpoint implementation for bulk delete rows
> 
>
> Key: HBASE-6942
> URL: https://issues.apache.org/jira/browse/HBASE-6942
> Project: HBase
>  Issue Type: Improvement
>  Components: Coprocessors, Performance
>Reporter: Anoop Sam John
>Assignee: Anoop Sam John
> Fix For: 0.94.3, 0.96.0
>
> Attachments: HBASE-6942.patch, HBASE-6942_V2.patch, 
> HBASE-6942_V3.patch, HBASE-6942_V4.patch
>
>
> We can provide an end point implementation for doing a bulk deletion of 
> rows(based on a scan) at the server side. This can reduce the time taken for 
> such an operation as right now it need to do a scan to client and issue 
> delete(s) using rowkeys.
> Query like  delete from table1 where...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (HBASE-6942) Endpoint implementation for bulk delete rows

2012-10-14 Thread Ted Yu (JIRA)

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

Ted Yu edited comment on HBASE-6942 at 10/14/12 3:15 PM:
-

I like the suggestion of passing Delete object to the endpoint.

  was (Author: yuzhih...@gmail.com):
I like the suggestion of passing Delete object to the endpoint.
If the Delete object has empty byte[] as row key, we make use of the Scan 
object as you have done. Otherwise, step of scanning the region can be skipped.
  
> Endpoint implementation for bulk delete rows
> 
>
> Key: HBASE-6942
> URL: https://issues.apache.org/jira/browse/HBASE-6942
> Project: HBase
>  Issue Type: Improvement
>  Components: Coprocessors, Performance
>Reporter: Anoop Sam John
>Assignee: Anoop Sam John
> Fix For: 0.94.3, 0.96.0
>
> Attachments: HBASE-6942.patch, HBASE-6942_V2.patch, 
> HBASE-6942_V3.patch, HBASE-6942_V4.patch
>
>
> We can provide an end point implementation for doing a bulk deletion of 
> rows(based on a scan) at the server side. This can reduce the time taken for 
> such an operation as right now it need to do a scan to client and issue 
> delete(s) using rowkeys.
> Query like  delete from table1 where...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (HBASE-6942) Endpoint implementation for bulk delete rows

2012-10-13 Thread Ted Yu (JIRA)

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

Ted Yu edited comment on HBASE-6942 at 10/13/12 4:24 PM:
-

Looks like FilterList.filterKeyValue() should be enhanced (with a new setting, 
in another JIRA) where ReturnCode.NEXT_ROW would be returned for the second 
occurrence of the same row key whose first ReturnCode was ReturnCode.INCLUDE.

  was (Author: yuzhih...@gmail.com):
Looks like FilterList.filterKeyValue() should be enhanced (in another JIRA) 
where ReturnCode.NEXT_ROW would be returned for the second occurrence of the 
same row key whose first ReturnCode was ReturnCode.INCLUDE.
  
> Endpoint implementation for bulk delete rows
> 
>
> Key: HBASE-6942
> URL: https://issues.apache.org/jira/browse/HBASE-6942
> Project: HBase
>  Issue Type: Improvement
>  Components: Coprocessors, Performance
>Reporter: Anoop Sam John
>Assignee: Anoop Sam John
> Fix For: 0.94.3, 0.96.0
>
> Attachments: HBASE-6942.patch, HBASE-6942_V2.patch, 
> HBASE-6942_V3.patch, HBASE-6942_V4.patch
>
>
> We can provide an end point implementation for doing a bulk deletion of 
> rows(based on a scan) at the server side. This can reduce the time taken for 
> such an operation as right now it need to do a scan to client and issue 
> delete(s) using rowkeys.
> Query like  delete from table1 where...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira