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

Tsz Wo Nicholas Sze updated HDFS-7681:
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I have committed this.  Thanks, Joe!

> 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)

Reply via email to