mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Sekretenko <asekrete...@apache.org>
Subject Review Request 72876: Added offer constraints to `updateFramework()` in the Java bindings.
Date Wed, 16 Sep 2020 19:10:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72876/
-----------------------------------------------------------

Review request for mesos and Benjamin Mahler.


Bugs: MESOS-10189
    https://issues.apache.org/jira/browse/MESOS-10189


Repository: mesos


Description
-------

This patch adds an ability to set or clear V0 framework's offer
constraints via the Java scheduler driver bindings.


Diffs
-----

  src/examples/java/TestFramework.java 1dea79c0e5b76385bad74ded755911f4d1858112 
  src/java/jni/construct.cpp 8d8f76e4602e506faa635970f096d344a9ad8562 
  src/java/jni/org_apache_mesos_MesosSchedulerDriver.cpp 1817bbafc4ce65ee5e58eb787e71c6d06481a32f

  src/java/src/org/apache/mesos/MesosSchedulerDriver.java 3e74be9e59e1419569ad940e5db5390b629ca376

  src/java/src/org/apache/mesos/SchedulerDriver.java e04916e055349ee287eb0c9327bc5f6d1e6caec3



Diff: https://reviews.apache.org/r/72876/diff/1/


Testing
-------

With empty constraints:
`make check`
(and, specifically, `src/mesos-tests --gtest_filter='ExamplesTest.JavaFramework'`)


With non-empty constraints: extended `ExamplesTest.JavaFramework` (see WIP https://reviews.apache.org/r/72877/
which will most likely be discarded) and re-ran it.


Thanks,

Andrei Sekretenko


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