hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shradha Revankar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8885) ByteRangeInputStream used in webhdfs does not override available()
Date Mon, 24 Aug 2015 17:31:46 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shradha Revankar updated HDFS-8885:
-----------------------------------
    Attachment: HDFS-8885.000.patch

Attaching the patch for review.

> ByteRangeInputStream used in webhdfs does not override available()
> ------------------------------------------------------------------
>
>                 Key: HDFS-8885
>                 URL: https://issues.apache.org/jira/browse/HDFS-8885
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.7.1
>            Reporter: Shradha Revankar
>            Assignee: Shradha Revankar
>            Priority: Minor
>         Attachments: HDFS-8885.000.patch
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message