Github user skonto commented on the issue:
https://github.com/apache/spark/pull/19390
@susanxhuynh this does not work with statically resources and mesos 1.4.
There is a compatibility issue as proto has changed between versions.
In the following scenario I have a static reserved resource and although I
dont set reservationInfo when I accept the offer it sees it as DYNAMIC. In 1.4
you need to set the type and reservations.
ole)]):1; cpus(allocated: spark_role):2; mem(allocated:
spark_role)(reservations: [(DYNAMIC,spark_role)]):896 required by task and its
executor is more than available disk(allocated: spark_role)(reservations:
[(STATIC,spark_role)]):10000; cpus(allocated: spark_role)(reservations:
[(STATIC,spark_role)]):1; mem(allocated: spark_role)(reservations:
[(STATIC,spark_role)]):1000; cpus(allocated: spark_role):2; mem(allocated:
spark_role):2000; disk(allocated: spark_role):10000; ports(allocated:
spark_role):[31000-32000]
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]