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

AbstractYarnClusterDescriptor's validClusterSpecification is not final application resources from yarn if cli -yn -ys not effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.7.1
    • None
    • None
    • None
    • java: jdk1.8.0_151

      flink: flink-1.7.1

      CDH:CDH-5.13.1-1.cdh5.13.1.p0.2

    Description

      when cli  -yn -ys not effect ,AbstractYarnClusterDescriptor's validClusterSpecification is not final application resources from yarn  (cli  -yn -ys not effect can refer to https://issues.apache.org/jira/browse/FLINK-11376)

       

      the cli :

      flink-1.7.1/bin/flink  run -m yarn-cluster -yn 1 -ys 1  -ynm test     -ccom.ishansong.bigdata.Main222  ./flinkDemo-1.0-SNAPSHOT.jar

      AbstractYarnClusterDescriptor's log :

       org.apache.flink.yarn.AbstractYarnClusterDescriptor           - Cluster specification: ClusterSpecification{masterMemoryMB=1024, taskManagerMemoryMB=1024, numberTaskManagers=1, slotsPerTaskManager=1}

      but yarn web ui:

      allocated containers=4 and allocated cpu cores=4

      Attachments

        Activity

          People

            Unassigned Unassigned
            shengjk1 shengjk1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: