hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-772) DFSClient.getFileChecksum(..) computes file md5 with extra padding
Date Fri, 13 Nov 2009 21:20:39 GMT
DFSClient.getFileChecksum(..) computes file md5 with extra padding
------------------------------------------------------------------

                 Key: HDFS-772
                 URL: https://issues.apache.org/jira/browse/HDFS-772
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: hdfs client
            Reporter: Tsz Wo (Nicholas), SZE


{code}
//DFSClient.getFileChecksum(..)
    final MD5Hash fileMD5 = MD5Hash.digest(md5out.getData()); 
{code}

The fileMD5 is computed with the entire byte array returning by md5out.getData().  However,
data are valid only up to md5out.getLength().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message