hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13092) RawLocalFileSystem is not case sensitive
Date Wed, 04 May 2016 19:33:12 GMT
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


Mime
View raw message