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

ByteRangeInputStream used in webhdfs does not override available()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      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.000.patch
          2 kB
          Shradha Revankar
        2. HDFS-8885.001.patch
          0.9 kB
          Shradha Revankar
        3. HDFS-8885.002.patch
          4 kB
          Shradha Revankar

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: