hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Binglin Chang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4292) Sanity check not correct in RemoteBlockReader2.newBlockReader
Date Sat, 08 Dec 2012 15:43:20 GMT
Binglin Chang created HDFS-4292:
-----------------------------------

             Summary: Sanity check not correct in RemoteBlockReader2.newBlockReader
                 Key: HDFS-4292
                 URL: https://issues.apache.org/jira/browse/HDFS-4292
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Binglin Chang
            Assignee: Binglin Chang
            Priority: Minor


{code}
    if ( firstChunkOffset < 0 || firstChunkOffset > startOffset ||
        firstChunkOffset >= (startOffset + checksum.getBytesPerChecksum())) {
{code}
should be:
{code}
    if ( firstChunkOffset < 0 || firstChunkOffset > startOffset ||
        firstChunkOffset <= (startOffset - checksum.getBytesPerChecksum())) {
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message