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

Steven Zhen Wu closed FLINK-15846.
----------------------------------
    Resolution: Invalid

> 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
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to