-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-18735: Compute correct checksum type when file is empty #5632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-18735: Compute correct checksum type when file is empty #5632
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
|
@chayanikabhandary can you add unit test to verify the changes made? |
|
💔 -1 overall
This message was automatically generated. |
This is the updated PR: #7764 @nandakumar131 |
Description of PR
When the file is empty or the file size is 0, the checksum returned is always MD5MD5CRC type even when the selected checksum type is COMPOSITE_CRC.
This is misleading and can create confusion while debugging.
How was this patch tested?
Unit test cases TBD
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?