You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2021/08/10 10:04:00 UTC

[jira] [Created] (FLINK-23707) Use consistent managed memory weights for StreamNode

Timo Walther created FLINK-23707:
------------------------------------

             Summary: Use consistent managed memory weights for StreamNode
                 Key: FLINK-23707
                 URL: https://issues.apache.org/jira/browse/FLINK-23707
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / Planner
            Reporter: Timo Walther
            Assignee: Timo Walther


Managed memory that is declared on transformations via {{Transformation#declareManagedMemoryUseCaseAtOperatorScope(ManagedMemoryUseCase managedMemoryUseCase, int weight)}} should be declared using a weight.

Usually, a weight should be some kind of factor, however, in the table planner it is used a kibi byte value. This causes issues on the DataStream API side that sets it to {{1}} in {{org.apache.flink.streaming.runtime.translators.BatchExecutionUtils#applyBatchExecutionSettings}}.



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