[
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 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.
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::stat`.
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.
> Refactor the Windows and POSIX isolators into sets of common logic.
> -------------------------------------------------------------------
>
> 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 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)