[Improvement] org.apache.spark.serializer.JavaSerializer does not support object relocation.
- Dominant language
- Java
- Stars
- 454
- Forks
- 172
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 5
Description
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
### Search before asking
- [X] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and found no similar issues.
### What would you like to be improved?
```
24/10/24 21:14:00 ERROR ApplicationMaster: User class threw exception: java.lang.IllegalArgumentException: Can't use serialized shuffle for shuffleId: 0, because the serializer: org.apache.spark.serializer.JavaSerializer does not support object relocation.
```
### How should we improve?
Support reject JavaSerializer earlier and use sort shuffleManager instead.
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Contributor guide
Research direction
The issue names no repository files or tests. Start by tracing where JavaSerializer is accepted for serialized shuffle and how the sort shuffleManager is selected, using the reported ApplicationMaster exception as the reproduction signal; done means JavaSerializer is rejected earlier and sort shuffleManager is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spark
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100