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

Fetcher doesn't log it's stdout/stderr properly to the log file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Environment:

      Windows 10

    • Sprint:
      Mesosphere Sprint 74, Mesosphere Sprint 75
    • Story Points:
      2

      Description

      The fetcher doesn't log it's stdout or stderr to the task's output files as it does on Linux. This makes it extraordinarily difficult to diagnose fetcher failures (bad URI, or permissions problems, or whatever).

      It does not appear to be a glog issue. I added output to the fetcher via cout and cerr, and that output didn't show up in the log files either. So it appears to be a logging capture issue.

      Note that the container launcher, launched from src/slave/containerizer/mesos/launcher.cpp, does appear to log properly. However, when launching the fetcher itself from src/slave/containerizer/fetcher.cpp (FetcherProcess::run), logging does not happen properly.

        Attachments

          Activity

            People

            • Assignee:
              andschwa Andrew Schwartzmeyer
              Reporter:
              coffler Jeff Coffler
              Shepherd:
              Joseph Wu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: