Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16166

TestRawLocalFileSystemContract fails with build Docker container running on Mac

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: fs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mattf Matthew Foley
                Reporter:
                mattf Matthew Foley
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: