You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Matthew Foley (Jira)" <ji...@apache.org> on 2021/03/16 00:35:00 UTC

[jira] [Updated] (HADOOP-16166) TestRawLocalFileSystemContract fails with build Docker container running on Mac

     [ https://issues.apache.org/jira/browse/HADOOP-16166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Foley updated HADOOP-16166:
-----------------------------------
    Fix Version/s: 3.3.0

> TestRawLocalFileSystemContract fails with build Docker container running on Mac
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-16166
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16166
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.3.0
>            Reporter: Matthew Foley
>            Assignee: Matthew Foley
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> The Mac has a case-insensitive filesystem.  When using the recommended build Docker container via `start-build-env.sh`, the container attaches to the Mac FS to share the local git repository for Hadoop.  Which is very nice and convenient.
> This means the TestRawLocalFileSystemContract#testFilesystemIsCaseSensitive() test case (which is inherited from FileSystemContractBaseTest) should be skipped.  It fails to be skipped, and therefore throws a Unit Test failure, because @Override TestRawLocalFileSystemContract#filesystemIsCaseSensitive() does not take into account the possibility of a Linux OS mounting a MacOS filesystem.
> The fix would extend TestRawLocalFileSystemContract#filesystemIsCaseSensitive() to recognize this case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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