You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "kasim (JIRA)" <ji...@apache.org> on 2016/10/17 02:06:58 UTC

[jira] [Created] (MESOS-6400) Not able to remove Orphan Tasks

kasim created MESOS-6400:
----------------------------

             Summary: Not able to remove Orphan Tasks
                 Key: MESOS-6400
                 URL: https://issues.apache.org/jira/browse/MESOS-6400
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 1.0.1
         Environment: centos 7 x64
            Reporter: kasim


The problem maybe cause by Mesos and Marathon out of sync
https://github.com/mesosphere/marathon/issues/616

When I found Orphan Tasks happen, I
1. restart marathon
2. marathon do not sync Orphan Tasks, but start new tasks.
3. curl -XGET `http://c196:5050/master/frameworks` :
{code}
{
    "frameworks": [
        .....
    ],
    "completed_frameworks": [ ],
    "unregistered_frameworks": [
        "ef169d8a-24fc-41d1-8b0d-c67718937a48-0000",
        "ef169d8a-24fc-41d1-8b0d-c67718937a48-0000",
        "ef169d8a-24fc-41d1-8b0d-c67718937a48-0000"
    ]
}
{code}

all Orphan Tasks in under `ef169d8a-24fc-41d1-8b0d-c67718937a48-0000`
5.Try {code}curl -XPOST http://c196:5050/master/teardown -d 'frameworkId=ef169d8a-24fc-41d1-8b0d-c67718937a48-0000' {code}
, but get `No framework found with specified ID`


So I have no idea to delete Orphan Tasks




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)