You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2014/01/23 23:19:39 UTC
[jira] [Created] (HADOOP-10271) Use FileUtils.copyFile() to
implement DFSTestUtils.copyFile()
Haohui Mai created HADOOP-10271:
-----------------------------------
Summary: Use FileUtils.copyFile() to implement DFSTestUtils.copyFile()
Key: HADOOP-10271
URL: https://issues.apache.org/jira/browse/HADOOP-10271
Project: Hadoop Common
Issue Type: Improvement
Reporter: Haohui Mai
Assignee: Haohui Mai
Priority: Minor
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)