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 < [email protected]> wrote: > ---------- Forwarded message --------- > From: Shanmugabavan Shanmugakumar <[email protected]> > Date: Fri, May 6, 2022 at 9:44 AM > Subject: Issue > To: <[email protected]> > > > 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? >
