hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12012) Improve cancellation for the scan RPCs
Date Thu, 18 Dec 2014 18:45:15 GMT

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

stack commented on HBASE-12012:
-------------------------------

An interface called CancellableCallable that does not have 'cancel' in it is odd to me.  It
has

24	  public void startCancel();

When I see that, I start looking for isCancelled and cancelled methods, neither of which are
here.

In fact, why does this Interface have to be a Callable at all?  Why not just have a Cancel
Interface and decorate RetryingCallable with it?

That is as far as I got.  

> Improve cancellation for the scan RPCs
> --------------------------------------
>
>                 Key: HBASE-12012
>                 URL: https://issues.apache.org/jira/browse/HBASE-12012
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: 12012-1.txt, 12012-2.txt, 12012-3.txt
>
>
> Similar to HBASE-11564 but for scans.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message