[ 
https://issues.apache.org/jira/browse/IMPALA-9782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Armstrong resolved IMPALA-9782.
-----------------------------------
    Fix Version/s: Impala 4.0
       Resolution: Fixed

> KuduPartitionExpr is not thread-safe
> ------------------------------------
>
>                 Key: IMPALA-9782
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9782
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>            Reporter: Tim Armstrong
>            Assignee: Tim Armstrong
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> This is a blocker for supporting Kudu DML with mt_dop. The expression has 
> some mutable objects in the ScalarExpr object that needs to be moved to the 
> evaluator.
> KuduPartitioner is not thread-safe, because it uses an internal buffer. We 
> should consider making it thread-safe or clonable, because the initialisation 
> is expensive and does RPCs and things - 
> https://github.com/cloudera/kudu/blob/master/src/kudu/client/partitioner-internal.cc#L40
> KuduPartialRow is inherently not thread-safe because it contains thread-local 
> data.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to