{"action":"created","issue":{"url":"https://api.github.com/repos/mesos/elasticsearch/issues/166","labels_url":"https://api.github.com/repos/mesos/elasticsearch/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/mesos/elasticsearch/issues/166/comments","events_url":"https://api.github.com/repos/mesos/elasticsearch/issues/166/events","html_url":"https://github.com/mesos/elasticsearch/issues/166","id":96009789,"number":166,"title":"Executor task management","user":{"login":"philwinder","id":8793723,"avatar_url":"https://avatars.githubusercontent.com/u/8793723?v=3","gravatar_id":"","url":"https://api.github.com/users/philwinder","html_url":"https://github.com/philwinder","followers_url":"https://api.github.com/users/philwinder/followers","following_url":"https://api.github.com/users/philwinder/following{/other_user}","gists_url":"https://api.github.com/users/philwinder/gists{/gist_id}","starred_url":"https://api.github.com/users/philwinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwinder/subscriptions","organizations_url":"https://api.github.com/users/philwinder/orgs","repos_url":"https://api.github.com/users/philwinder/repos","events_url":"https://api.github.com/users/philwinder/events{/privacy}","received_events_url":"https://api.github.com/users/philwinder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesos/elasticsearch/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T08:09:24Z","updated_at":"2015-07-21T08:39:23Z","closed_at":null,"body":"Add task management. Should be able to:\r\n* Restart if task fails\r\n* Use checkpoint\r\n* Monitor state of tasks (via healthcheck?)\r\n\r\nAs reported in #164 by @F21"},"comment":{"url":"https://api.github.com/repos/mesos/elasticsearch/issues/comments/123214821","html_url":"https://github.com/mesos/elasticsearch/issues/166#issuecomment-123214821","issue_url":"https://api.github.com/repos/mesos/elasticsearch/issues/166","id":123214821,"user":{"login":"F21","id":2263040,"avatar_url":"https://avatars.githubusercontent.com/u/2263040?v=3","gravatar_id":"","url":"https://api.github.com/users/F21","html_url":"https://github.com/F21","followers_url":"https://api.github.com/users/F21/followers","following_url":"https://api.github.com/users/F21/following{/other_user}","gists_url":"https://api.github.com/users/F21/gists{/gist_id}","starred_url":"https://api.github.com/users/F21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F21/subscriptions","organizations_url":"https://api.github.com/users/F21/orgs","repos_url":"https://api.github.com/users/F21/repos","events_url":"https://api.github.com/users/F21/events{/privacy}","received_events_url":"https://api.github.com/users/F21/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T08:39:23Z","updated_at":"2015-07-21T08:39:23Z","body":"It should also be able to regain controlled of orphaned tasks. I have seen cases where I set the number of tasks to 1 and the scheduler gets terminated for whatever reason. When the scheduler comes back up, it starts another task, so we end up with 2 tasks instead of 1."}}