You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by Daniel Ruiz <da...@gmail.com> on 2015/08/05 05:21:07 UTC

Stop A Scan

Hi All,

 

Is there a recommended way to stop a scan from a scanner?  For example if
you only want 100 results when there are thousands or more positive hits.  

 

V/r,

Daniel


RE: Stop A Scan

Posted by Daniel Ruiz <da...@gmail.com>.
Thanks for the reply….Yes that is correct.   

 

V/r,

-Daniel

 

From: Christopher [mailto:ctubbsii@apache.org] 
Sent: Friday, August 07, 2015 9:59 AM
To: user@accumulo.apache.org
Subject: Re: Stop A Scan

 

I don't know that we have a way of interrupting the scan threads from the client API. You can stop iterating, which will prevent additional batches from being retrieved, but I'm guessing you'd like to kill any current scan threads, especially for the batch scanner. Is that correct?

 

On Tue, Aug 4, 2015, 23:21 Daniel Ruiz <daruiz.work@gmail.com <ma...@gmail.com> > wrote:

Hi All,

 

Is there a recommended way to stop a scan from a scanner?  For example if you only want 100 results when there are thousands or more positive hits.  

 

V/r,

Daniel


Re: Stop A Scan

Posted by Christopher <ct...@apache.org>.
I don't know that we have a way of interrupting the scan threads from the
client API. You can stop iterating, which will prevent additional batches
from being retrieved, but I'm guessing you'd like to kill any current scan
threads, especially for the batch scanner. Is that correct?

On Tue, Aug 4, 2015, 23:21 Daniel Ruiz <da...@gmail.com> wrote:

> Hi All,
>
>
>
> Is there a recommended way to stop a scan from a scanner?  For example if
> you only want 100 results when there are thousands or more positive hits.
>
>
>
> V/r,
>
> Daniel
>