[
https://issues.apache.org/jira/browse/HDFS-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058498#comment-13058498
]
Uma Maheswara Rao G commented on HDFS-2110:
-------------------------------------------
{quote}
I made the new copyBytes method consistent with the others. How about a new
jira to make IOUtils#copy* methods close streams according to the discussion in
MAPREDUCE-2243?
{quote}
I filed the seperate issue for this. Please review HADOOP-7437.
> Some StreamFile and ByteRangeInputStream cleanup
> ------------------------------------------------
>
> Key: HDFS-2110
> URL: https://issues.apache.org/jira/browse/HDFS-2110
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Reporter: Eli Collins
> Assignee: Eli Collins
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: hdfs-2110-1.patch, hdfs-2110-2.patch, hdfs-2110-3.patch
>
>
> StreamFile#sendPartialData can be cleaned up, has some System.out.printlns,
> no javadoc, and the byte copying method should be pulled out to IOUtils.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira