Hi, Haripriya.

>1. I am trying to see the details of the resource offer made by the mesos
master. I can see in the logs that there are 5 resource offers made but I
am not sure where to get the details of the resource offers - the cpu,
memory etc.

You could print offer details in your framework Scheduler#resourceOffers
methods. These offer message also could find from mesos log.

>2. How can I list the number of slaves registered with the master and the
details of the slaves on the command line( apart from seeing it in the UI)?

We have some endpoints(state.json and state-summary) in master and slave to
expose these informations, you could got this from

```
curl -s "http://localhost:5050/master/state-summary"; |jq .slaves
```


On Tue, Sep 1, 2015 at 6:47 AM, Haripriya Ayyalasomayajula <
[email protected]> wrote:

> Hello,
>
> I'm having trouble with some basic details:
>
> 1. I am trying to see the details of the resource offer made by the mesos
> master. I can see in the logs that there are 5 resource offers made but I
> am not sure where to get the details of the resource offers - the cpu,
> memory etc.
>
> 2. How can I list the number of slaves registered with the master and the
> details of the slaves on the command line( apart from seeing it in the UI)?
>
> Thanks for the help.
>
> --
> Regards,
> Haripriya Ayyalasomayajula
>
>


-- 
Best Regards,
Haosdent Huang

Reply via email to