[
https://issues.apache.org/jira/browse/GORA-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Ratnasekera updated GORA-633:
-----------------------------------
Component/s: gora-kudu
> Make KuduSession thread safe for KuduStore
> ------------------------------------------
>
> Key: GORA-633
> URL: https://issues.apache.org/jira/browse/GORA-633
> Project: Apache Gora
> Issue Type: Improvement
> Components: gora-kudu
> Affects Versions: 1.0
> Reporter: Alfonso Nishikawa
> Priority: Minor
> Labels: gora-kudu
>
> As per the docs KuduSession is not thread safe -
> https://kudu.apache.org/apidocs/org/apache/kudu/client/KuduSession.html
> This variable is a shared variable and instantiated at class level. I noticed
> there are multiple operations you do on top of KuduSession instance. These
> can possibly fail at concurrency. You may need to create new session per each
> these operations you do on top it in datastore methods or add some pooling
> mechanism from your code. Please check on this whether we have complication
> at concurrency.
> https://github.com/apache/gora/blob/master/gora-kudu/src/main/java/org/apache/gora/kudu/store/KuduStore.java#L85
> See complete thread at:
> https://github.com/apache/gora/pull/178#discussion_r316540236
--
This message was sent by Atlassian Jira
(v8.3.2#803003)