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

Alex Clemmer updated MESOS-5461:
--------------------------------
    Description: 
Right now the persistent volumes code in the POSIX isolators is `#ifdef`'d out 
for Windows compilations.

This is because the Windows isolators take a dependency on the POSIX isolators, 
but Windows doesn't support `os::chown`. Since this protects the invariant that 
persistent volumes be owned by one task at a time, we currently choose to 
disable the whole thing for now. At a later date we will need to come back and 
revisit this.

  was:
Right now there is some code in the POSIX isolators that is `#ifdef`'d out for 
Windows compilations.

This is because the Windows isolators take a dependency on the POSIX isolators, 
but Windows doesn't support `os::chown`.

In the future, we should either refactor the Windows isolators to not depend on 
the POSIX isolators, or factor out the `os::stat` code that doesn't work on 
Windows.


> Add Windows support for persistent volumes.
> -------------------------------------------
>
>                 Key: MESOS-5461
>                 URL: https://issues.apache.org/jira/browse/MESOS-5461
>             Project: Mesos
>          Issue Type: Bug
>          Components: isolation
>            Reporter: Alex Clemmer
>            Assignee: Alex Clemmer
>              Labels: agent, mesos, mesosphere
>
> Right now the persistent volumes code in the POSIX isolators is `#ifdef`'d 
> out for Windows compilations.
> This is because the Windows isolators take a dependency on the POSIX 
> isolators, but Windows doesn't support `os::chown`. Since this protects the 
> invariant that persistent volumes be owned by one task at a time, we 
> currently choose to disable the whole thing for now. At a later date we will 
> need to come back and revisit this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to