Ensured TaskStatus::source field is set for executor status updates.

A status update originating from executor should have the
TaskStatus::source field set to TaskStatus::SOURCE_EXECUTOR. Set this
field in the slave to be future proof (a future where there will be no
executor driver). Previous code has a bug and updated a copy of the
update that was not forwarded. Add some checks for source and reason for
status updates in existing tests.

Review: https://reviews.apache.org/r/32130
3 files changed
tree: 4581bf253835b163ea9bb2e52891ad9e40c41d94
  1. 3rdparty/
  2. bin/
  3. docs/
  4. ec2/
  5. frameworks/
  6. include/
  7. m4/
  8. mpi/
  9. src/
  10. support/
  11. .gitignore-template
  12. .travis.yml
  13. bootstrap
  14. CHANGELOG
  15. configure.ac
  16. Dockerfile
  17. Doxyfile
  18. LICENSE
  19. Makefile.am
  20. mesos.pc.in
  21. NOTICE
  22. README.md
README.md

About Apache Mesos

Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, MPI, Hypertable, Spark, 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.