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

Hudson commented on HDFS-5825:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5044 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5044/])
HDFS-5825. Use FileUtils.copyFile() to implement DFSTestUtils.copyFile(). 
(Contributed by Haohui Mai) (arp: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1561792)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java


> Use FileUtils.copyFile() to implement DFSTestUtils.copyFile()
> -------------------------------------------------------------
>
>                 Key: HDFS-5825
>                 URL: https://issues.apache.org/jira/browse/HDFS-5825
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: HDFS-5825.000.patch
>
>
> {{DFSTestUtils.copyFile()}} is implemented by copying data through 
> FileInputStream / FileOutputStream. Apache Common IO provides 
> {{FileUtils.copyFile()}}. It uses FileChannel which is more efficient.
> This jira proposes to implement {{DFSTestUtils.copyFile()}} using 
> {{FileUtils.copyFile()}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to