hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5825) Use FileUtils.copyFile() to implement DFSTestUtils.copyFile()
Date Thu, 23 Jan 2014 22:19:46 GMT

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

Haohui Mai updated HDFS-5825:
-----------------------------

    Attachment: HDFS-5825.000.patch

> 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
>         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)

Mime
View raw message