Skip to content

installing a framework after teardown #462

Closed
@sadovnikov

Description

@sadovnikov

Using Marathon I removed ES Scheduler, but this left Executors running. In order to remove them I teared down the framework by curl -X POST -d 'frameworkId=XXXXXXXX-b036-4cb7-af53-4c837dc9521d-0002' http://${MASTER_IP}:5050/master/teardown. This successfully removed all the framework tasks - executors.

However now Mesos Cluster rejects my attempts to re-install the framework.

I0115 12:54:57.916470 28856 sched.cpp:1024] Got error 'Framework has been removed'
I0115 12:54:57.916509 28856 sched.cpp:1805] Asked to abort the driver
I0115 12:54:57.916824 28856 sched.cpp:1070] Aborting framework '8ca5c18f-b036-4cb7-af53-4c837dc9521d-0001'

Below I copy an answer from user@mesos.apache.org. Is it possible the scheduler gets the old ID from Zookeeper? What changes should we introduce to enable re-installation of the framework?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions