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

Sanity check not correct in RemoteBlockReader2.newBlockReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.3-alpha
    • None
    • None
    • 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

            decster Binglin Chang
            decster Binglin Chang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: