Details
Description
This issue is exposed from MESOS-6400(https://issues.apache.org/jira/browse/MESOS-6400). When a user is trying to tear down an 'unregistered_framework' from the 'master/teardown' endpoint, a bad request will be returned: `No framework found with specified ID`.
Ideally, we should support tearing down an unregistered framework, since those frameworks may occur due to network partition, then all the orphan tasks still occupy the resources. It would be a nightmare if a user has to wait until the unregistered framework to get those resources back.
This may be the initial implementation: https://github.com/apache/mesos/commit/bb8375975e92ee722befb478ddc3b2541d1ccaa9
Attachments
Issue Links
- is duplicated by
-
MESOS-6400 Not able to remove Orphan Tasks
- Resolved
- is related to
-
MESOS-4659 Avoid leaving orphan task after framework failure + master failover
- Accepted
-
MESOS-6586 Teardown endpoint should remove framework
- Open
- is required by
-
MESOS-6719 Unify "active" and "state"/"connected" fields in Master::Framework
- Resolved
- relates to
-
MESOS-6753 Refactor duplicated code for framework registration in master
- Open
-
MESOS-6400 Not able to remove Orphan Tasks
- Resolved
- requires
-
MESOS-6675 Change allocator API to support adding inactive frameworks
- Resolved