hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2808) FileUtil::copy ignores "overwrite" formal
Date Thu, 14 Feb 2008 06:13:08 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568811#action_12568811
] 

dhruba borthakur commented on HADOOP-2808:
------------------------------------------

+1 code looks good.

> FileUtil::copy ignores "overwrite" formal
> -----------------------------------------
>
>                 Key: HADOOP-2808
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2808
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.15.0
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>             Fix For: 0.16.1
>
>         Attachments: 2808-0.patch
>
>
> o.a.h.fs.FileUtil::copy takes an "overwrite" parameter, but FileUtil::checkDest() throws
an IOException if the destination exists. It should be modified to ignore this check if overwrite
is true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message