Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.11.0
Description
The process still starts fine though, similar to FLINK-18152.
[] - Loading configuration property: jobmanager.memory.process.size, 2000m
[] - Loading configuration property: jobmanager.memory.heap.size, 1999m
Exception in thread "main" java.lang.IllegalArgumentException: bytes must be >= 0
at org.apache.flink.util.Preconditions.checkArgument(Preconditions.java:139)
at org.apache.flink.configuration.MemorySize.<init>(MemorySize.java:82)
at org.apache.flink.configuration.MemorySize.subtract(MemorySize.java:216)
at org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils.deriveJvmMetaspaceAndOverheadFromTotalFlinkMemory(ProcessMemoryUtils.java:147)
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)
Attachments
Issue Links
- is a child of
-
FLINK-17973 Test memory configuration of Flink cluster
- Closed
- links to