kudu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Mora <jhnmora...@gmail.com>
Subject KuduSession - is not thread-safe
Date Sat, 24 Aug 2019 05:55:15 GMT
Hi.

The javadoc documentation of the class KuduSession[1] claims that it is not
thread-safe. So, I was wondering If there is a pooling mechanism or similar
for multi-threaded applications.

I would like to execute multiple operations such as: session.apply(upsert),
session.apply(update) and session.apply(delete) in a multiple threads using
a shared variable session.

Is that possible? How should I be handling KuduSession and flushing in a
multi thread environment.

Thanks in advance for your help.

[1] https://kudu.apache.org/apidocs/org/apache/kudu/client/KuduSession.html

Cheers,
John Mora.

Mime
View raw message