Relaxed protobuf union validation strictness.

As part of MESOS-6874, the master validates protobuf unions passed as
part of an ExecutorInfo::ContainerInfo.  This prevents a task from
specifying, for example, a ContainerInfo::MESOS, but filling
out the docker field (which is then ignored by the agent).

This validation change is actually an API change, because previously
runnable ExecutorInfo's and TaskInfo's will now fail validation.
This has two visible effects on clusters:
  * Agents running containers with invalid protobuf unions will not
    be able to reregister with the master.
  * Existing frameworks will not be able to re-launch the same tasks
    that were working before a Mesos master upgrade.

This changes the validation to print a warning instead.  Where possible,
the warning will provide some information to indicate which task
or executor is sending the invalid protobuf.

Review: https://reviews.apache.org/r/70546/
3 files changed
tree: d0211964a7558e7ab9288cf89fa92bfa352a2d70
  1. 3rdparty/
  2. bin/
  3. cmake/
  4. docs/
  5. include/
  6. m4/
  7. mpi/
  8. site/
  9. src/
  10. support/
  11. .gitattributes
  12. bootstrap
  13. bootstrap.bat
  14. CHANGELOG
  15. CMakeLists.txt
  16. configure.ac
  17. Doxyfile
  18. LICENSE
  19. Makefile.am
  20. mesos.pc.in
  21. NOTICE
  22. README.md
README.md

Apache Mesos

Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.

Visit us at mesos.apache.org.

Mailing Lists

Documentation

Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.

Installation

Instructions are included on the Getting Started page.

License

Apache Mesos is licensed under the Apache License, Version 2.0.

For additional information, see the LICENSE and NOTICE files.