You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/06/30 18:42:00 UTC

[jira] [Created] (IMPALA-5611) KuduPartitionExpr holds onto memory unnecessarily

Thomas Tauber-Marshall created IMPALA-5611:
----------------------------------------------

             Summary: KuduPartitionExpr holds onto memory unnecessarily
                 Key: IMPALA-5611
                 URL: https://issues.apache.org/jira/browse/IMPALA-5611
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 2.9.0
            Reporter: Thomas Tauber-Marshall
            Assignee: Thomas Tauber-Marshall
            Priority: Critical


IMPALA-3742 introduced KuduPartitionExpr, which takes a row and passes it to the Kudu client to determine what partition it belongs to.

KuduPartitionExpr never calls ScalarExprEvaluator::FreeLocalAllocations, causing it to hang on to memory longer than it needs it.

Since we only need the value of the row for the call into the Kudu client, we can call FreeLocalAllocations after that.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)