Thanks, I wasn't aware of that. Eventually I found MESOS-6597 (Include
missing Mesos Java classes for Protobuf files to support Operator HTTP
V1 API)  and that's exactly what I want. It is great being backported
to 1.1!
Kota UENISHI


On Tue, Dec 20, 2016 at 11:49 AM, haosdent <haosd...@gmail.com> wrote:
> As I know, don't have libraries for v1 operator APIs so far.
>
>> DC/OS CLI [2] seems including those features, but it's too much and not
>> programmable for me (unless I try parsing its output).
> dcos cli is open source as well. You may refer its implementation.
> https://github.com/dcos/dcos-cli/blob/master/dcos/mesos.py
>
> On Mon, Dec 19, 2016 at 1:22 PM, Kota UENISHI
> <ueni...@nautilus-technologies.com> wrote:
>>
>> Hi all,
>>
>> I've just started setting up and operating a small Mesos cluster. To
>> watch Mesos cluster status, opening the web console with a browser is
>> not just enough and I want programmable libraries that is easy to take
>> values from all HTTP endpoints in the document [1]. Does anybody know
>> a good library (in Java, Python or Go) to fetch arbitrary data from
>> endpoints?
>>
>> My use cases are fetch list of agents, tasks and fetch various stats
>> needed for operation.
>>
>> As long as I googled and walked through the document, there is no such
>> library that supports v1 operator APIs in a good manner such as
>> generating code from mesos.proto - even in C++ or Java.
>>
>> DC/OS CLI [2] seems including those features, but it's too much and
>> not programmable for me (unless I try parsing its output).
>>
>> mesos.interface [3] seems maintained recently, but list of features
>> not sufficient (or I just couldn't find documentation).
>>
>> [1] http://mesos.apache.org/documentation/latest/endpoints/
>> [2] https://dcos.io/docs/1.8/usage/cli/command-reference/
>> [3] https://pypi.python.org/pypi/mesos.interface/
>>
>> Kota UENISHI
>
>
>
>
> --
> Best Regards,
> Haosdent Huang

Reply via email to