[ 
https://issues.apache.org/jira/browse/YARN-8359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491112#comment-16491112
 ] 

Jason Lowe commented on YARN-8359:
----------------------------------

Since this part of the source tree is specific to the Linux runtime, would it 
make more sense to update the pom to exclude this directory tree from tests 
when running on Windows?  That would be a lot simpler than tacking 
assumeNotWindows() on every one of the tests (and remembering to do that for 
future tests in this part of the source tree).


> Disable containermanager.linux.runtime.TEST to run on Windows
> -------------------------------------------------------------
>
>                 Key: YARN-8359
>                 URL: https://issues.apache.org/jira/browse/YARN-8359
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Giovanni Matteo Fumarola
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to