hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13092) RawLocalFileSystem is not case sensitive
Date Tue, 10 May 2016 08:50:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277819#comment-15277819

Andras Bokor commented on HADOOP-13092:

Based on the following code I will set case sensitivity to false on Windows and Mac:

protected void adjustContractToLocalEnvironment() {
    if (Shell.WINDOWS) {
      //NTFS doesn't do case sensitivity, and its permissions are ACL-based
      getConf().setBoolean(getConfKey(ContractOptions.IS_CASE_SENSITIVE), false);
      getConf().setBoolean(getConfKey(ContractOptions.SUPPORTS_UNIX_PERMISSIONS), false);
    } else if (ContractTestUtils.isOSX()) {
      //OSX HFS+ is not case sensitive

> 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
> RawLocalFileSystem is not case sensitive but I am not sure if it should be.
> This class relays on the underlying OS filesystem so if it runs on a non case sensitive
OS the class will be insensitive as well.
> On Mac follow the following commands:
> # echo asdf > lower.txt
> # cat loWer.txt
> Do we need to make RawLocalFileSystem class case sensitive? Please help.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message