Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
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
// 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
- causes
-
YUNIKORN-946 Accounting resources for deleted executor pods
- Closed
- links to