Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8359

Exclude containermanager.linux test classes on Windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Some of the tests in containermanager.linux.runtime failed in Windows due to 

      Error Message
      'posix:permissions' not supported as initial attribute

      We use PosixFilePermission which can be used only with operating systems which are compatibile with POSIX:

      A file attribute view that provides a view of the file attributes commonly associated with files on file systems used by operating systems that implement the Portable Operating System Interface (POSIX) family of standards.Operating systems that implement the POSIX family of standards commonly use file systems that have a file owner, group-owner, and related access permissions. Windows unfortunatelly doesn't support POSIX file systems so this is why your code doesn't work.

        Attachments

        1. YARN-8359.002.patch
          1 kB
          Jason Lowe
        2. YARN-8359.001.patch
          1 kB
          Jason Lowe

          Issue Links

            Activity

              People

              • Assignee:
                jlowe Jason Lowe
                Reporter:
                giovanni.fumarola Giovanni Matteo Fumarola
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: