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/05 21:48:58 UTC
[jira] [Updated] (MESOS-6677) Error in Windows agent's
Flags::runtime_dir CLI
[ https://issues.apache.org/jira/browse/MESOS-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Schwartzmeyer updated MESOS-6677:
----------------------------------------
Labels: newbie windows (was: newbie)
> 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
> Labels: newbie, windows
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)