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

ResourceManager fails when num task slots > Yarn vcores

    XMLWordPrintableJSON

Details

    Description

      The ResourceManager fails to acquire containers when the users configures the number of task slots to be greater than the maximum number of virtual cores of the Yarn cluster.

      We should check during deployment that the task slots are not configured to be larger than the virtual cores.

      2016-11-02 14:39:01,948 ERROR org.apache.flink.yarn.YarnFlinkResourceManager                - FATAL ERROR IN YARN APPLICATION MASTER: Connection to YARN Resource Manager failed
      org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request, requested virtual cores < 0, or requested virtual cores > max configured, requestedVirtualCores=3, maxVirtualCores=1
      

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: