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

ByteRangeInputStream used in webhdfs does not override available()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • webhdfs
    • None
    • Reviewed

    Description

      ByteRangeInputStream has to override the method available() , the super class implementation returns 0. Clients using the method available() to rely on available bytes information will end up with errors during reads if WebhdfsFileSystem is used.

      Attachments

        1. HDFS-8885.002.patch
          4 kB
          Shradha Revankar
        2. HDFS-8885.001.patch
          0.9 kB
          Shradha Revankar
        3. HDFS-8885.000.patch
          2 kB
          Shradha Revankar

        Activity

          People

            srevanka Shradha Revankar
            srevanka Shradha Revankar
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: