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

Haohui Mai updated HDFS-8280:
-----------------------------
       Resolution: Fixed
    Fix Version/s: 2.8.0
           Status: Resolved  (was: Patch Available)

I've committed the patch to trunk and branch-2. Thanks [~jingzhao] for the 
contribution.

> Code Cleanup in DFSInputStream
> ------------------------------
>
>                 Key: HDFS-8280
>                 URL: https://issues.apache.org/jira/browse/HDFS-8280
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8280.000.patch
>
>
> This is some code cleanup separate from HDFS-8272:
> # Avoid duplicated block reader creation code
> # If no new source DN can be found, {{getBestNodeDNAddrPair}} returns null 
> instead of throwing Exception. Whether to throw Exception or not should be 
> determined by {{getBestNodeDNAddrPair}}'s caller.



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

Reply via email to