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)

Reply via email to