Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18067

Invalid default value for yarnMinAllocationMB in YarnClusterDescriptor

    XMLWordPrintableJSON

    Details

      Description

      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 Yang Wang in https://github.com/apache/flink/pull/11176#discussion_r433629963:

      • 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wind_ljy Jiayi Liao
                Reporter:
                wind_ljy Jiayi Liao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: