[
https://issues.apache.org/jira/browse/MESOS-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901746#comment-14901746
]
Neil Conway commented on MESOS-2722:
------------------------------------
Related issue; arguably a dup, although 2916 is a "story" and this is an
"improvement".
> 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
> Labels: features
>
> 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)