HubSpot / Singularity

Scheduler (HTTP API and webapp) for running Mesos tasks—long running processes, one-off tasks, and scheduled jobs. #hubspot-open-source
http://getsingularity.com/
Apache License 2.0
823 stars 188 forks source link

Fix npe for tasks with null hostnames from decommissioned host resources #2262

Closed WH77 closed 2 years ago

WH77 commented 2 years ago

2253 likely caused null hostnames / updates for tasks on decommissioned hosts, because agent resource fields could get overwritten with nulls from mesos master on startup. This PR preserves the cleanup logic, while removing the unneeded agent resource updates.

cc - @ssalinas

ssalinas commented 2 years ago

🚢