flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Zagrebin (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-18156) Misleading error message if derived JVM overhead is too small
Date Mon, 08 Jun 2020 13:31:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-18156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128303#comment-17128303
] 

Andrey Zagrebin edited comment on FLINK-18156 at 6/8/20, 1:30 PM:
------------------------------------------------------------------

Do you mean that it says that the JVM Overhead was configured? but it says the JVM Overhead
was derived. We use `derive` also in user docs.
The min/max values do not have to be configured, they have default values as well, we could
add `configured or default` for min/max.


was (Author: azagrebin):
Do you mean that it says that the JVM Overhead was configured? but it says the JVM Overhead
was derived.
The min/max values do not have to be configured, they have default values as well, we could
add `configured or default` for min/max.

> Misleading error message if derived JVM overhead is too small
> -------------------------------------------------------------
>
>                 Key: FLINK-18156
>                 URL: https://issues.apache.org/jira/browse/FLINK-18156
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.11.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>
> The error message says that the derived size is lower then the configured overhead range,
but now such property was configured by the user.
> {code}
> [] - Loading configuration property: jobmanager.memory.process.size, 2000m
> [] - Loading configuration property: jobmanager.memory.heap.size, 1500m
> Exception in thread "main" org.apache.flink.configuration.IllegalConfigurationException:
Derived JVM Overhead size (116.000mb (121634816 bytes)) is not in configured JVM Overhead
range [192.000mb (201326592 bytes), 1024.000mb (107374182$        at org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils.sanityCheckJvmOverhead(ProcessMemoryUtils.java:171)
>         at org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils.deriveJvmMetaspaceAndOverheadFromTotalFlinkMemory(ProcessMemoryUtils.java:148)
>         at org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils.deriveProcessSpecWithExplicitInternalMemory(ProcessMemoryUtils.java:86)
>         at org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils.memoryProcessSpecFromConfig(ProcessMemoryUtils.java:71)
>         at org.apache.flink.runtime.jobmanager.JobManagerProcessUtils.processSpecFromConfig(JobManagerProcessUtils.java:76)
>         at org.apache.flink.runtime.jobmanager.JobManagerProcessUtils.processSpecFromConfigWithNewOptionToInterpretLegacyHeap(JobManagerProcessUtils.java:71)
>         at org.apache.flink.runtime.util.bash.BashJavaUtils.getJmResourceParams(BashJavaUtils.java:92)
>         at org.apache.flink.runtime.util.bash.BashJavaUtils.runCommand(BashJavaUtils.java:66)
>         at org.apache.flink.runtime.util.bash.BashJavaUtils.main(BashJavaUtils.java:54)
> {code}



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

Mime
View raw message