jiang13021 opened a new pull request, #2979:
URL: https://github.com/apache/celeborn/pull/2979
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX]
Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a
faster review.
-->
### What changes were proposed in this pull request?
1. Added a checksum mechanism to the shuffle data header.
2. Implemented checksum verification while writing data in the worker.
3. Integrated checksum validation during data reading in
CelebornInputStreamImpl.
4. Added a PushDataHeaderUtils to manage the shuffle data header.
### Why are the changes needed?
Sometimes, the transmitted data may change, leading to errors. Therefore, it
is necessary to add a checksum to detect this exception. I only added a
checksum to the header because I believe that in a production environment, the
data body is mostly compressed, and during compression, a checksum is typically
generated. Therefore, in scenarios where compression is enabled, adding a
checksum to the header is enough.
### Does this PR introduce _any_ user-facing change?
No, this change is compatible.
### How was this patch tested?
unit test:
org.apache.celeborn.service.deploy.cluster.PushDataWithChecksumSuite
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]