You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2016/12/02 22:49:58 UTC
[jira] [Created] (MESOS-6677) Error in Windows agent's
Flags::runtime_dir CLI
Andrew Schwartzmeyer created MESOS-6677:
-------------------------------------------
Summary: Error in Windows agent's Flags::runtime_dir CLI
Key: MESOS-6677
URL: https://issues.apache.org/jira/browse/MESOS-6677
Project: Mesos
Issue Type: Bug
Components: cli
Affects Versions: 1.2.0
Environment: Windows 10
Commit b7937a68367088f3c1f7c334307422c71737b1d7
Reporter: Andrew Schwartzmeyer
Assignee: Andrew Schwartzmeyer
Priority: Minor
Error occurs at runtime due to runtime_dir initialization code in the CLI.
Code attempts to get the current user's name (which throws an error on Windows):
{{F1202 14:43:16.214303 9816 flags.cpp:215] CHECK_SOME(user): The request is not supported.}}
{{*** Check failure stack trace: ***}}
While https://reviews.apache.org/r/53706/ implements {{os::user}}, the default is still incorrect for Windows as it switches on the Linux user "root", and would cause the hard-coded Linux default to be used in the edge case of a user named "root" on Windows.
The fix is to use a proper Windows location for persistent data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)