[ 
https://issues.apache.org/jira/browse/HDFS-17803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chayanika Bhandary updated HDFS-17803:
--------------------------------------
    Description: 
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.

 

Contributing a fix to this. - [https://github.com/apache/hadoop/pull/7764] 

  was:
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.

 

Contributing a fix to this.


> Compute correct checksum type when file is empty/ file length is 0
> ------------------------------------------------------------------
>
>                 Key: HDFS-17803
>                 URL: https://issues.apache.org/jira/browse/HDFS-17803
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: dfsclient
>            Reporter: Chayanika Bhandary
>            Priority: Trivial
>              Labels: pull-request-available
>
> 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.
>  
> Contributing a fix to this. - [https://github.com/apache/hadoop/pull/7764] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to