hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
Date Thu, 29 Jan 2015 14:32:39 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296929#comment-14296929
] 

Hudson commented on HDFS-7681:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #2020 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2020/])
HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s).
 Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Fix ReplicaInputStream constructor to take InputStreams
> -------------------------------------------------------
>
>                 Key: HDFS-7681
>                 URL: https://issues.apache.org/jira/browse/HDFS-7681
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 3.0.0
>            Reporter: Joe Pallas
>            Assignee: Joe Pallas
>             Fix For: 3.0.0
>
>         Attachments: HDFS-7681.patch
>
>
> As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes {{FileDescriptor}}
s that are immediately turned into {{InputStream}} s, while the callers already have {{FileInputStream}}
s from which they extract {{FileDescriptor}} s.  This seems to have been done as part of a
large set of changes to appease findbugs.



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

Mime
View raw message