Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 3573 invoked from network); 13 Feb 2008 22:49:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 22:49:56 -0000 Received: (qmail 26093 invoked by uid 500); 13 Feb 2008 22:47:52 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 26073 invoked by uid 500); 13 Feb 2008 22:47:52 -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 26064 invoked by uid 99); 13 Feb 2008 22:47:52 -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 14:47:52 -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; Wed, 13 Feb 2008 22:46:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24A47714075 for ; Wed, 13 Feb 2008 14:47:08 -0800 (PST) Message-ID: <22769857.1202942828147.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 14:47:08 -0800 (PST) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (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:all-tabpanel ] Chris Douglas updated HADOOP-2808: ---------------------------------- Status: Patch Available (was: Open) > 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.