You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Bernd Mathiske (JIRA)" <ji...@apache.org> on 2015/05/13 01:19:59 UTC

[jira] [Created] (MESOS-2722) Create access to the Mesos "state abstraction" that does not require linking with libmesos

Bernd Mathiske created MESOS-2722:
-------------------------------------

             Summary: Create access to the Mesos "state abstraction" that does not require linking with libmesos
                 Key: MESOS-2722
                 URL: https://issues.apache.org/jira/browse/MESOS-2722
             Project: Mesos
          Issue Type: Improvement
          Components: general
            Reporter: Bernd Mathiske


See "src/state/state.hpp" and "src/java/src/org/apache/mesos/state/*.java" for what the "state abstraction" is.

With the new HTTP API (see MESOS-2288, MESOS-2289), there will be no need to link to libmesos to a framework for it to communicate with a Mesos master. However, if a framework uses the Mesos "state abstraction", either directly in C++ or through other language bindings (e.g., Java), it still needs to link with libmesos. So, in order to achieve libmesos-free frameworks that can leverage all APIs Mesos has to offer, we need a different way to access the "state abstraction". 

---

One approach is to provide an HTTP API for state queries that get routed through the Mesos master, which relays them by making calls into libmesos. Details TBD, including how separate this will be from the general HTTP API.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)