Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4292

Sanity check not correct in RemoteBlockReader2.newBlockReader

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

          if ( firstChunkOffset < 0 || firstChunkOffset > startOffset ||
              firstChunkOffset >= (startOffset + checksum.getBytesPerChecksum())) {
      

      should be:

          if ( firstChunkOffset < 0 || firstChunkOffset > startOffset ||
              firstChunkOffset <= (startOffset - checksum.getBytesPerChecksum())) {
      

        Attachments

        1. HDFS-4292.patch
          2 kB
          Binglin Chang

          Activity

            People

            • Assignee:
              decster Binglin Chang
              Reporter:
              decster Binglin Chang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment