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

driver/executor get hang occasionally if the applicationId is defined

    XMLWordPrintableJSON

Details

    Description

      The code used to get applicationId is shown below.

      // application ID can be defined in labels
      for name, value := range pod.Labels {
      // application ID can be defined as a label
      if name == constants.LabelApplicationID

      { return value, nil }

      // if a pod for spark already provided appID, reuse it
      if name == constants.SparkLabelAppID { return value, nil }

      }

      The iteration order is random so it could get application id from 'spark-app-selector' rather thanĀ `applicationId` (even though `applicationId` is defined by users)

      Attachments

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: