Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Conversation

@farhan5900
Copy link

@farhan5900 farhan5900 commented Oct 17, 2020

Reference PR#36

What changes were proposed in this pull request?

Using incremental integers as Executor IDs leads to a situation when Spark Executors launched by different Drivers have same IDs. When running on DCOS that means that Mesos Task IDs for Spark Executors can have duplicates too. This change introduces unique identifiers for both CoarseGrainedSchedulerBackend and YarnAllocator which are prepended to numeric ID thus allowing to distinguish Executors belonging to different drivers.

This PR reverts commit ebe3c7f: "initialize executorIdCounter after ApplicationMaster killed for max n…)" realted to Jira Issue SPARK-12864 because it addressed the similar but YARN-case specific issue.

Combine changes in PR#52: [DCOS-51158] Improved Task ID assignment for Executor tasks

How was this patch tested?

The change is verified by a unit test and external integration test.

@farhan5900
Copy link
Author

This PR is just for reference, so final and effective change has been moved to #69.

@farhan5900 farhan5900 closed this Oct 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants