Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
In YARN-11342, I refactored the submitApplication method, but in the process of implementation, the judgment condition of if was written incorrectly.
```
// Step2. Query homeSubCluster according to ApplicationId.
Boolean exists = existsApplicationHomeSubCluster(applicationId);
ApplicationHomeSubCluster appHomeSubCluster =
ApplicationHomeSubCluster.newInstance(applicationId, subClusterId);
// should be !exists
if (exists || retryCount == 0)
else
{ updateApplicationHomeSubCluster(subClusterId, applicationId, appHomeSubCluster); }```
Attachments
Issue Links
- is caused by
-
YARN-11342 [Federation] Refactor FederationClientInterceptor#submitApplication Use FederationActionRetry
- Resolved
- links to