Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15042

Azure PageBlobInputStream.skip() can return negative value when numberOfPagesRemaining is 0

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 3.1.0, 2.10.0, 3.0.1
    • Component/s: fs/azure
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      PageBlobInputStream::skip-->skipImpl returns negative values when numberOfPagesRemaining=0. This can cause wrong position to be set in NativeAzureFileSystem::seek() and can lead to errors.

        Attachments

        1. HADOOP-15042.001.patch
          0.9 kB
          Rajesh Balamohan

          Issue Links

            Activity

              People

              • Assignee:
                rajesh.balamohan Rajesh Balamohan
                Reporter:
                rajesh.balamohan Rajesh Balamohan
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: