You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by Shanmugabavan Shanmugakumar <sh...@gmail.com> on 2022/05/06 05:56:28 UTC

Fwd: Issue

---------- Forwarded message ---------
From: Shanmugabavan Shanmugakumar <sh...@gmail.com>
Date: Fri, May 6, 2022 at 9:44 AM
Subject: Issue
To: <de...@kudu.apache.org>


I developed a Kudu csv export tool from the 1.15 tag branch. Which use
similar command path of scan table. When I export many big data through
multiple threads there is a scanner expired error occurred.. Can any one
help to sort out this issue?

Re: Issue

Posted by Alexey Serbin <as...@cloudera.com.INVALID>.
Hi,

Scanner objects live at the server side and expire if there isn't any
activity related to those scanners
for some time (that's controlled by the --scanner_ttl_ms flag).  If you
want to keep them open/alive,
you need to issue keep-alive requests from time to time. See [1] and [2]
for the corresponding
reference in the Kudu API.


HTH,

Alexey


[1]
https://kudu.apache.org/releases/1.15.0/cpp-client-api/classkudu_1_1client_1_1KuduScanner.html#aa4a0caf7142880255d7aac1d75f33d21
[2]
https://kudu.apache.org/releases/1.15.0/apidocs/org/apache/kudu/client/KuduScanner.html#keepAlive--

On Thu, May 5, 2022 at 10:56 PM Shanmugabavan Shanmugakumar <
shanmugabavan.developer@gmail.com> wrote:

> ---------- Forwarded message ---------
> From: Shanmugabavan Shanmugakumar <sh...@gmail.com>
> Date: Fri, May 6, 2022 at 9:44 AM
> Subject: Issue
> To: <de...@kudu.apache.org>
>
>
> I developed a Kudu csv export tool from the 1.15 tag branch. Which use
> similar command path of scan table. When I export many big data through
> multiple threads there is a scanner expired error occurred.. Can any one
> help to sort out this issue?
>