Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6722

Agent tries to use POSIX paths for the variable data runtime directory.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: agent
    • Labels:

      Description

      When the agent boots up, it checks `os::user` in an attempt to set the `runtime_dir`. Essentially, if the user is `root`, it will put this directory somewhere in `/var`, and if not, somewhere in `/temp`. This is mainly to avoid permissions issues.

      Since `os::user` is not implemented on Windows, this crashes us and prevents connecting to the master.

      We should change this to set the directory intelligently on Windows.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andschwa Andrew Schwartzmeyer
                Reporter:
                hausdorff Alex Clemmer
                Shepherd:
                Joseph Wu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: