Project: mesos
Issue MESOS-3794: Master should not store arbitrarily sized data in ExecutorInfo
From a comment in [MESOS-3771]: Master should not be storing the {{data}} fields from {{ExecutorInfo}}. We currently [store the entire object|https://github.com/apache/mesos/blob/master/src/master/master.hpp#L262-L271], which means master would be at high risk of OOM-ing if a bunch of executors were started with big {{data}} blobs. * Master should scrub out unneeded bloat from {{ExecutorInfo}} before storing it. * We can use an alternate internal object, like we do for {{TaskInfo}} vs {{Task}}; see [this|https://github.com/apache/mesos/blob/master/src/messages/messages.proto#L39-L41].
Story points: 3