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

Check failure when executor for task using resource provider resources subscribes before agent is registered

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Sprint:
      Storage: RI-12 Sprint 43
    • Story Points:
      3

      Description

      When an executor for a task using resource provider resources subscribes before the agent has registered with the master, we trigger a fatal assertion,

      Mar 21 13:42:47 agent1 mesos-agent[17277]: F0321 13:42:46.845535 17295 slave.cpp:8834] Check failed: 'resourceProviderManager.get()' Must be non NULL
      Mar 21 13:42:47 agent1 mesos-agent[17277]: *** Check failure stack trace: *

      The reason for this failure is that we attempt to publish resources to the resource provider via the resource provider manager, but the resource provider manager is only created once the agent has registered with the master.

      As a workaround one can terminate the executors and their tasks, and let the framework relaunch the tasks (provided it supports that).

      A possible workaround could be to prevent such executors from subscribing until the resource provider manager is available.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbannier Benjamin Bannier
                Reporter:
                bbannier Benjamin Bannier
                Shepherd:
                Chun-Hung Hsiao
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: