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

Exclude containermanager.linux test classes on Windows

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
    • None
    • None
    • 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.001.patch
          1 kB
          Jason Darrell Lowe
        2. YARN-8359.002.patch
          1 kB
          Jason Darrell Lowe

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment