[
https://issues.apache.org/jira/browse/HDDS-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889889#comment-17889889
]
Hsu Han Wen commented on HDDS-8175:
-----------------------------------
Hi, I'm interested in this issue. Would it be okay if I give it a try?
> getFileChecksum() throws exception in debug mode
> ------------------------------------------------
>
> Key: HDDS-8175
> URL: https://issues.apache.org/jira/browse/HDDS-8175
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Wei-Chiu Chuang
> Assignee: JiaChi Wang
> Priority: Trivial
>
> [https://github.com/apache/ozone/blob/e3868fabdf560c7e15d385268424f34dadffde0b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/checksum/ReplicatedFileChecksumHelper.java#L215]
>
> [https://github.com/apache/ozone/blob/e3868fabdf560c7e15d385268424f34dadffde0b/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/checksum/ECFileChecksumHelper.java#L131]
>
> Hadoop's CrcUtil.toSingleCrcString() expects 4 bytes of input, but Ozone's
> doesn't. So using this utility method will throw an exception "Unexpected
> byte[] length '%d' for single CRC. Contents: %s"
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]