You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Kapil Arya (JIRA)" <ji...@apache.org> on 2016/03/11 07:50:00 UTC
[jira] [Created] (MESOS-4916) Allow modules to express if they are
multi-instantiable and thread safe.
Kapil Arya created MESOS-4916:
---------------------------------
Summary: Allow modules to express if they are multi-instantiable and thread safe.
Key: MESOS-4916
URL: https://issues.apache.org/jira/browse/MESOS-4916
Project: Mesos
Issue Type: Task
Reporter: Kapil Arya
A module might be instantiated multiple time (e.g., multiple schedulers in the same Java process instantiating an authenticator module) within the same process. The current mechanism doesn't provide a way through the module API to forbid multiple instantiations. It is up to the module to check and return error on prior instantiation.
Along similar lines, a module should be able to express thread-safety concerns. Typically, a module running in Master/Agent doesn't have to be concerned about thread safety if it uses libprocess API. However, we should investigate how it plays in the scheduler environment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)