hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4292) Sanity check not correct in RemoteBlockReader2.newBlockReader
Date Mon, 10 Dec 2012 19:29:21 GMT

    [ https://issues.apache.org/jira/browse/HDFS-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528199#comment-13528199
] 

Hudson commented on HDFS-4292:
------------------------------

Integrated in Hadoop-trunk-Commit #3105 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3105/])
    HDFS-4292. Sanity check not correct in RemoteBlockReader2.newBlockReader. Contributed
by Binglin Chang. (Revision 1419675)

     Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1419675
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/RemoteBlockReader.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/RemoteBlockReader2.java

                
> 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
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4292.patch
>
>
> {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