Details
-
Improvement
-
Status: Reopened
-
Not a Priority
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, ClusterSpecification has the following three fields.
- masterMemoryMB
- taskManagerMemoryMB
- slotsPerTaskManager
Among the three fields, taskManagerMemoryMB is only used in YarnClusterDescriptor#validateClusterResources. It can be replaced by "taskmanager.memory.process.size" in the configuration. Moreover, there are consistency risks for keeping the process memory in two places with different precision (MB vs. MemorySize).
masterMemoryMB should be the same as taskManagerMemoryMB after finishing FLIP-116 Unified Memory Configuration for Job Managers.
That leaves only slotsPerTaskManager, which can easily get from the configuration.
Attachments
Issue Links
- is blocked by
-
FLINK-16614 FLIP-116 Unified Memory Configuration for Job Manager
- Closed
- relates to
-
FLINK-16733 Refactor YarnClusterDescriptor
- Open