You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Steven Zhen Wu (Jira)" <ji...@apache.org> on 2020/02/02 22:04:00 UTC

[jira] [Updated] (FLINK-15846) TaskExecutorProcessUtils should return config strs with mb as unit for better readability

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

Steven Zhen Wu updated FLINK-15846:
-----------------------------------
    Summary: TaskExecutorProcessUtils should return config strs with mb as unit for better readability  (was: TaskExecutorResourceUtils should return config strs with mb as unit for better readability)

> TaskExecutorProcessUtils should return config strs with mb as unit for better readability
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-15846
>                 URL: https://issues.apache.org/jira/browse/FLINK-15846
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Configuration
>            Reporter: Steven Zhen Wu
>            Priority: Major
>
> With FLIP-49 being released in 1.10. The config strs returned `TaskExecutorResourceUtils` are using bytes as unit which are very difficult to read when inspecting logs. It is hard to believe anyone will ever configure memory using bytes as unit. mostly likely either mega-bytes or giga-bytes.
> e.g. from logs.
> BASH_JAVA_UTILS_EXEC_RESULT:-D taskmanager.memory.framework.off-heap.size=2147483648b -D taskmanager.memory.network.max=163840000b -D taskmanager.memory.network.min=163840000b -D taskmanager.memory.framework.heap.size=134217728b -D taskmanager.memory.managed.size=2616406869b -D taskmanager.cpu.cores=2.0 -D taskmanager.memory.task.heap.size=1479068832b -D taskmanager.memory.task.off-heap.size=0b 
> -Xmx1613286560
>  -Xms1613286560
> -XX:MaxDirectMemorySize=2311323648
> -XX:MaxMetaspaceSize=536870912



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