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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 3.1.0, 2.10.0, 3.0.1
    • fs/azure
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: