Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 80235200AE3 for ; Wed, 4 May 2016 21:33:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7EB1C1609FC; Wed, 4 May 2016 19:33:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ECF031609A1 for ; Wed, 4 May 2016 21:33:14 +0200 (CEST) Received: (qmail 20979 invoked by uid 500); 4 May 2016 19:33:13 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 20789 invoked by uid 99); 4 May 2016 19:33:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 19:33:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EDF4A2C1F6D for ; Wed, 4 May 2016 19:33:12 +0000 (UTC) Date: Wed, 4 May 2016 19:33:12 +0000 (UTC) From: "Andras Bokor (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-13092) RawLocalFileSystem is not case sensitive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 May 2016 19:33:15 -0000 Andras Bokor created HADOOP-13092: ------------------------------------- Summary: RawLocalFileSystem is not case sensitive Key: HADOOP-13092 URL: https://issues.apache.org/jira/browse/HADOOP-13092 Project: Hadoop Common Issue Type: Bug Components: fs Affects Versions: 0.23.0 Reporter: Andras Bokor Assignee: Andras Bokor FileSystemContractBaseTest#testRenameFileMoveToNonExistentDirectory: creates a file then move it to a non-existing directory. It should fail but it will not (with RawLocalFileSystem) because in RawLocalFileSystem#rename(Path, Path) method we have a fallback behavior that accomplishes the rename by a full copy. The full copy will create the new directory and copy the file there. I see two possible solutions here: # Remove the fallback full copy behavior # Before full cp we should check whether the parent directory exists or not. If not return false an do not do the full copy. The fallback logic was added by [HADOOP-9805|https://issues.apache.org/jira/browse/HADOOP-9805]. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-dev-help@hadoop.apache.org