Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FD7B705E for ; Sat, 19 Nov 2011 14:38:13 +0000 (UTC) Received: (qmail 74428 invoked by uid 500); 19 Nov 2011 14:38:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 74410 invoked by uid 500); 19 Nov 2011 14:38:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 74402 invoked by uid 99); 19 Nov 2011 14:38:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2011 14:38:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Nov 2011 14:38:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EA235906DA for ; Sat, 19 Nov 2011 14:37:51 +0000 (UTC) Date: Sat, 19 Nov 2011 14:37:51 +0000 (UTC) From: "Kang Xiao (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <580178720.47293.1321713471960.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2125066474.8140.1300326029583.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7195) RawLocalFileSystem.rename() should not try to do copy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-7195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kang Xiao updated HADOOP-7195: ------------------------------ Attachment: HADOOP-7195-v2.patch update patch for trunk. other testcases should cover this issuse > RawLocalFileSystem.rename() should not try to do copy > ----------------------------------------------------- > > Key: HADOOP-7195 > URL: https://issues.apache.org/jira/browse/HADOOP-7195 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.20.2, 0.21.0 > Reporter: Kang Xiao > Attachments: HADOOP-7195-v2.patch, HADOOP-7195.patch > > > RawLocalFileSystem.rename() try to copy file if fails to call rename of java File. It's really confusing to do copy in a rename interface. For example rename(/a/b/c, /e/f/g) will invoke the copy if /e/f does not exist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira