You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/06/05 16:26:00 UTC

[jira] [Resolved] (IMPALA-9782) KuduPartitionExpr is not thread-safe

     [ 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org