Jing Zhao created HDFS-8280: ------------------------------- Summary: 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
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)