----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14960/#review28048 -----------------------------------------------------------
src/cli/cli_utils.py <https://reviews.apache.org/r/14960/#comment54556> python version check used in mesos-ps(https://reviews.apache.org/r/14941/) would be required. - Shingo Omura On Nov. 1, 2013, 3:14 a.m., Du Li wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/14960/ > ----------------------------------------------------------- > > (Updated Nov. 1, 2013, 3:14 a.m.) > > > Review request for mesos, Benjamin Hindman, Shingo Omura, and Niklas Nielsen. > > > 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-status PRE-CREATION > > Diff: https://reviews.apache.org/r/14960/diff/ > > > Testing > ------- > > tested on single-host deployment of mesos. > > > Thanks, > > Du Li > >
