Skip to content

Commit

Permalink
[hotfix] Set number of Mesos agent CPUs to 8
Browse files Browse the repository at this point in the history
This commits sets the number of CPUs on a Mesos agent to 8 which is the same
as the number assigned vcores to a NodeManager in the Yarn case. This allows
to spawn 3 Mesos tasks on an agent if there is enough memory. This will give
us the same number of TMs possible as in the Yarn case.
  • Loading branch information
tillrohrmann committed Nov 1, 2018
1 parent b9934c6 commit e3812b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flink-jepsen/src/jepsen/flink/mesos.clj
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
(str "--log_dir=" log-dir)
(str "--master=" (zookeeper-uri test zk-namespace))
(str "--recovery_timeout=30secs")
(str "--work_dir=" slave-dir)]))
(str "--work_dir=" slave-dir)
(str "--resources='cpus:8'")]))

(defn create-mesos-master-supervised-service!
[test node]
Expand Down

0 comments on commit e3812b3

Please sign in to comment.