----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62938/#review190327 -----------------------------------------------------------
Ship it! Ship It! - Kevin Klues On Nov. 7, 2017, 3:50 p.m., Armand Grillet wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62938/ > ----------------------------------------------------------- > > (Updated Nov. 7, 2017, 3:50 p.m.) > > > Review request for mesos, Eric Chung and Kevin Klues. > > > Bugs: MESOS-8012 > https://issues.apache.org/jira/browse/MESOS-8012 > > > Repository: mesos > > > Description > ------- > > This change allows users to use the CLI with a Mesos running in high > availability mode. The `zookeeper` field was already here before this > commit, with an `addresses` array and a `path` field. This change > only adds the backend to actually make it usable. > > Interacting with ZooKeeper requires a new dependency, kazoo, that has > been added to the list of requirements for the CLI. > > > Diffs > ----- > > src/python/cli_new/README.md a4b270d9b54cdd83bd62530fb44ddfaffb8a014b > src/python/cli_new/lib/cli/util.py dd109c09368e650b7d7dabd663c11bc2e3e5180a > src/python/cli_new/pip-requirements.txt > 7aeac344c47ccd2588fded44d7314db7abd85653 > > > Diff: https://reviews.apache.org/r/62938/diff/5/ > > > Testing > ------- > > Tested with a Mesos cluster running with 3 masters and 1 agent, run some CLI > commands successfully. > > To use Mesos in HAM locally I have done (on macOS): > ``` > zkServer start > bash mesos-master.sh --port='5061' --zk='zk://127.0.0.1:2181/mesos' > --work_dir='/tmp/master1' --quorum=1 > bash mesos-master.sh --port='5062' --zk='zk://127.0.0.1:2181/mesos' > --work_dir='/tmp/master2' --quorum=1 > bash mesos-master.sh --port='5063' --zk='zk://127.0.0.1:2181/mesos' > --work_dir='/tmp/master3' --quorum=1 > bash mesos-agent.sh --master='zk://127.0.0.1:2181/mesos' > --work_dir='/tmp/agent' > ``` > > > Thanks, > > Armand Grillet > >
