[
https://issues.apache.org/jira/browse/HDFS-8885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729105#comment-14729105
]
Hudson commented on HDFS-8885:
------------------------------
FAILURE: Integrated in Hadoop-Mapreduce-trunk #2288 (See
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2288/])
HDFS-8885. ByteRangeInputStream used in webhdfs does not override available().
Contributed by Shradha Revankar. (aajisaka: rev
c92e31bd659e95c8baa0f3b2bf0cd7f6f72278e6)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/ByteRangeInputStream.java
*
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestByteRangeInputStream.java
> 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
> Fix For: 2.8.0
>
> 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)