Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 17086 invoked from network); 14 Feb 2008 06:13:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 06:13:32 -0000 Received: (qmail 81678 invoked by uid 500); 14 Feb 2008 06:13:25 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 81639 invoked by uid 500); 14 Feb 2008 06:13:25 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 81628 invoked by uid 99); 14 Feb 2008 06:13:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 22:13:25 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 06:12:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A480714079 for ; Wed, 13 Feb 2008 22:13:08 -0800 (PST) Message-ID: <32613843.1202969588367.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 22:13:08 -0800 (PST) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-2808) FileUtil::copy ignores "overwrite" formal In-Reply-To: <30698488.1202763848109.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.