You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/07/29 16:19:00 UTC
[jira] [Created] (YUNIKORN-766) driver/executor get hang
occasionally if the applicationId is defined
Chia-Ping Tsai created YUNIKORN-766:
---------------------------------------
Summary: driver/executor get hang occasionally if the applicationId is defined
Key: YUNIKORN-766
URL: https://issues.apache.org/jira/browse/YUNIKORN-766
Project: Apache YuniKorn
Issue Type: Bug
Components: shim - kubernetes
Reporter: Chia-Ping Tsai
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)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org