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

Use ask unique id for allocation

    XMLWordPrintableJSON

Details

    Description

      As of now, every allocation has its own generated unique id using uuid(). Ask has its own unique id (reused from pod uuid propagated through task object). Because of this nature, difficult to map these id's while troubleshooting any issues through logs. Proposal is to re use the ask unique id itself even for Allocation too. Since there could be ask repeats, to avoid the duplicates, suffixing unique number to the ask unique id would end up in havingĀ  unique Allocation id for every ask repeat. This suffix starts with 0 and keeps increasing by 1 for every repeat. For example, If ask key is "alloc-1", then allocation unique id would be "alloc-1-0", "alloc-1-1", so on..

      Attachments

        Issue Links

          Activity

            People

              mani Manikandan R
              mani Manikandan R
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: