mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gyliu (JIRA)" <>
Subject [jira] [Commented] (MESOS-3037) Add a SUPPRESS call to the scheduler
Date Sun, 16 Aug 2015 23:50:45 GMT


gyliu commented on MESOS-3037:

There will be some function conflict with signals.hpp if use SUPPRESS offer, I was planning
to use QUIESCE call

../../3rdparty/libprocess/3rdparty/stout/include/stout/os/signals.hpp:28:3: error: expected
unqualified-id before 'if'
   if (os::signals::internal::Suppressor suppressor ## signal = \
../include/mesos/scheduler/scheduler.pb.h:2238:51: note: in expansion of macro 'suppress'
   inline const ::mesos::scheduler::Call_Suppress& suppress() const;
In file included from ../../include/mesos/scheduler/scheduler.hpp:23:0,
                 from ../../include/mesos/type_utils.hpp:30,
                 from ../../include/mesos/resources.hpp:29,
                 from ../../src/slave/containerizer/isolators/filesystem/linux.hpp:23,
                 from ../../src/slave/containerizer/isolators/filesystem/linux.cpp:39:
../include/mesos/scheduler/scheduler.pb.h:2238:49: error: expected ';' at end of member declaration
   inline const ::mesos::scheduler::Call_Suppress& suppress() const;

> Add a SUPPRESS call to the scheduler
> ------------------------------------
>                 Key: MESOS-3037
>                 URL:
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Vinod Kone
>            Assignee: gyliu
> SUPPRESS call is the complement to the current REVIVE call i.e., it will inform Mesos
to stop sending offers to the framework. 
> For the scheduler driver to send only Call messages (MESOS-2913), DeactivateFrameworkMessage
needs to be converted to Call(s). We can implement this by having the driver send a SUPPRESS
call followed by a DECLINE call for outstanding offers.

This message was sent by Atlassian JIRA

View raw message