Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2517

[Yunikorn] Incorrect Placeholder Count for Duplicate Task Groups in Gang scheduling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core - scheduler
    • None

    Description

      Hi Team , I am getting incorrect placeholder count for the duplicate task groups in gang scheduling.

      Example :

      TaskGroups: []v1alpha1.TaskGroup{
      				{Name: "groupdup", MinMember: int32(3), MinResource: map[string]resource.Quantity{
      					"cpu":    resource.MustParse("10m"),
      					"memory": resource.MustParse("10M"),
      				}},
      				{Name: "groupdup", MinMember: int32(5), MinResource: map[string]resource.Quantity{
      					"cpu":    resource.MustParse("10m"),
      					"memory": resource.MustParse("10M"),
      				}},
      				{Name: "groupa", MinMember: int32(7), MinResource: map[string]resource.Quantity{
      					"cpu":    resource.MustParse("10m"),
      					"memory": resource.MustParse("10M"),
      				}},
      			}, 

      for the above config, we are getting a total of 17 pods ( 2 groups. + 15 Placeholders).

      It's adding the duplicate group placeholder as well.

      Could you please take a look?

      gangjob-c805x-l4fx9                  1/1     Running   0          47s
      gangjob-c805x-tc8tr                  1/1     Running   0          47s
      tg-appid-oqina-groupa-1ap48pr4us     1/1     Running   0          45s
      tg-appid-oqina-groupa-25t5jubyzl     1/1     Running   0          45s
      tg-appid-oqina-groupa-6oxhqxnebc     1/1     Running   0          45s
      tg-appid-oqina-groupa-bqj9nk3mdq     1/1     Running   0          45s
      tg-appid-oqina-groupa-hugxbjb3xv     1/1     Running   0          45s
      tg-appid-oqina-groupa-o46k68fhw1     1/1     Running   0          45s
      tg-appid-oqina-groupa-vs5kxeop8z     1/1     Running   0          45s
      tg-appid-oqina-groupdup-786dl3gch2   1/1     Running   0          45s
      tg-appid-oqina-groupdup-877tnd4xdl   1/1     Running   0          45s
      tg-appid-oqina-groupdup-b7yef7w47x   1/1     Running   0          45s
      tg-appid-oqina-groupdup-cdqm1fcwbo   1/1     Running   0          45s
      tg-appid-oqina-groupdup-hlxwv9to9z   1/1     Running   0          45s
      tg-appid-oqina-groupdup-mvcd5pkijw   1/1     Running   0          45s
      tg-appid-oqina-groupdup-o4d9s8d02p   1/1     Running   0          45s
      tg-appid-oqina-groupdup-srrxrukstd   1/1     Running   0          45s 

       

       

      Attachments

        Issue Links

          Activity

            People

              mani Manikandan R
              rrajesh Rajesh Kanhaiya Lal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: