You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alex Clemmer (JIRA)" <ji...@apache.org> on 2016/07/29 23:22:20 UTC

[jira] [Created] (MESOS-5937) `flags::parse` assumes the filesystem is rooted at '/'

Alex Clemmer created MESOS-5937:
-----------------------------------

             Summary: `flags::parse` assumes the filesystem is rooted at '/'
                 Key: MESOS-5937
                 URL: https://issues.apache.org/jira/browse/MESOS-5937
             Project: Mesos
          Issue Type: Bug
          Components: stout
            Reporter: Alex Clemmer
            Assignee: Alex Clemmer


In parse.hpp, in the `flags::parse` contains a line like:

```
if (strings::startsWith(value, "/")) {
```

Normally to load a JSON flags file, we will specify a file like: `file://file_here`. This line exists for backwards compatibility. But since it's FS-specific, this will fail on Windows.

As of this writing, this causes `FlagsFileTest.JSONFile` to fail.



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