You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2015/09/03 01:13:47 UTC
[jira] [Assigned] (HDFS-8885) ByteRangeInputStream used in webhdfs
does not override available()
[ https://issues.apache.org/jira/browse/HDFS-8885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth reassigned HDFS-8885:
-----------------------------------
Assignee: Chris Nauroth (was: Shradha Revankar)
> 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: Chris Nauroth
> Priority: Minor
> Attachments: HDFS-8885.000.patch, HDFS-8885.001.patch, HDFS-8885.002.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)