-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14960/
-----------------------------------------------------------

Review request for mesos and Benjamin Hindman.


Repository: mesos-git


Description
-------

This commit implements the CLI command mesos-status, which reports three 
categories of hosts:

(1) live -- The hosts that are reported by the master/state.json and responded 
correctly to monitor/statistics.json query;
(2) dead -- Those that are reported by master but responded incorrectly to 
query;
(3) not running -- Those that are included in the var/mesos/deploy/slaves files 
but not reported by the master.

In addition, the two functions ulimit and resolve are extracted from the 
original mesos-ps file as module cli_utils.py because they could be reused in 
other CLI commands.


Diffs
-----

  src/cli/cli_utils.py PRE-CREATION 
  src/cli/mesos-ps a6a8e9b 
  src/cli/mesos-status PRE-CREATION 

Diff: https://reviews.apache.org/r/14960/diff/


Testing
-------

tested on single-host deployment of mesos.


Thanks,

Du Li

Reply via email to