You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2023/04/11 06:03:00 UTC

[jira] [Closed] (FLINK-31510) Use getMemorySize instead of getMemory

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

Weijie Guo closed FLINK-31510.
------------------------------
    Fix Version/s: 1.18.0
       Resolution: Fixed

master(1.18) via 0c4db2dd577fdfca1a12c115948bf67931d0bcde.

> Use getMemorySize instead of getMemory
> --------------------------------------
>
>                 Key: FLINK-31510
>                 URL: https://issues.apache.org/jira/browse/FLINK-31510
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>    Affects Versions: 1.18.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.18.0
>
>
> In YARN-4844, use getMemorySize instead of getMemory, because using int to represent memory may exceed the bounds in some cases and produce negative numbers.
> This change was merged in HADOOP-2.8.0, we should use getMemorySize instead of getMemory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)