You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jiayi Liao (Jira)" <ji...@apache.org> on 2020/06/02 10:11:00 UTC
[jira] [Created] (FLINK-18067) Invalid default value for
yarnMinAllocationMB in YarnClusterDescriptor
Jiayi Liao created FLINK-18067:
----------------------------------
Summary: Invalid default value for yarnMinAllocationMB in YarnClusterDescriptor
Key: FLINK-18067
URL: https://issues.apache.org/jira/browse/FLINK-18067
Project: Flink
Issue Type: Improvement
Components: Deployment / YARN
Affects Versions: 1.10.1
Reporter: Jiayi Liao
Currently Flink sets {{yarnMinAllocationMB}} default value to 0, which will crash the job in normalizing the allocation memory. There should be two minor changes after discussion with [~fly_in_gis]:
* Make the default value to YarnConfiguration.DEFAULT_RM_SCHEDULER_MINIMUM_ALLOCATION_MB, not 0
* Add pre-check for yarnMinAllocationMB, it should be greater than 0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)