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:24:20 UTC

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

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

Alex Clemmer updated MESOS-5937:
--------------------------------
    Description: 
This bug causes the following tests to fail:

* FlagsFileTest.JSONFile

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.

  was:
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.


> `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
>              Labels: mesosphere, stout, windows
>
> This bug causes the following tests to fail:
> * FlagsFileTest.JSONFile
> 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)