mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armand Grillet <>
Subject Re: Review Request 61213: Added 'mesos task list' command to CLI.
Date Sun, 03 Sep 2017 08:43:02 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 3, 2017, 8:43 a.m.)

Review request for mesos and Kevin Klues.


Added testing done for High-Availability Mode.

Bugs: MESOS-7840

Repository: mesos

Description (updated)

This command displays the active tasks in a cluster
by reaching the tasks endpoint of a master. It also
works when Mesos uses runs in High-Availability Mode.

Diffs (updated)

  src/python/cli_new/bin/ d42df04b0ff42bb6f466842e59223cd90a74d5c0 
  src/python/cli_new/lib/cli/plugins/task/ PRE-CREATION 
  src/python/cli_new/lib/cli/plugins/task/ PRE-CREATION 
  src/python/cli_new/lib/cli/tests/ 0daf28869e107263c51653ace39e3b1826871048 
  src/python/cli_new/lib/cli/tests/ PRE-CREATION 
  src/python/cli_new/tests/ 3e4d2e449a6485206700b4a490d325a393d31f90 



Testing (updated)

To test with one master:
$ ./bootstrap
$ source activate
$ mesos-cli-tests

To test the command in High-Availability Mode I have:
1. Started ZooKeeper.
2. Started two masters using the flags `--zk` and `--quorum`.
3. Started one agent.
4. Launched one task using `./mesos-execute --master='zk://' --name='test'
--command='sleep 3600'`.
5. Checked that the output of 'mesos task list' was correct.

I also checked that the Python linter was still working.


Armand Grillet

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message