You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Matthias Veit (JIRA)" <ji...@apache.org> on 2015/02/09 15:17:34 UTC

[jira] [Created] (MESOS-2330) The executor_id of the command line executor is empty in state.json

Matthias Veit created MESOS-2330:
------------------------------------

             Summary: The executor_id of the command line executor is empty in state.json
                 Key: MESOS-2330
                 URL: https://issues.apache.org/jira/browse/MESOS-2330
             Project: Mesos
          Issue Type: Bug
          Components: statistics
    Affects Versions: 0.21.1
         Environment: Linux version 3.10.0-123.13.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Thu Dec 18 14:09:13 UTC 2014
            Reporter: Matthias Veit
            Priority: Minor


I started a simple command line task via marathon. If I fetch state.json from the relevant slave, I get following result, where there is an empty executor_id. Could we have always an id for the executor?

```
{
  "completed_tasks": [],
  "container": "9f4114ce-87b5-4640-ae5e-152eee140be3",
  "directory": "/hdd/mesos/slave/slaves/20150122-211400-234885292-5050-20977-S0/frameworks/20141119-101031-201330860-5050-3757-0000/executors/testtest.ca08dbeb-b05e-11e4-901a-56847afe9799/runs/9f4114ce-87b5-4640-ae5e-152eee140be3",
  "id": "testtest.ca08dbeb-b05e-11e4-901a-56847afe9799",
  "name": "Command Executor (Task: testtest.ca08dbeb-b05e-11e4-901a-56847afe9799) (Command: sh -c 'sleep 400')",
  "queued_tasks": [],
  "resources": {
    "cpus": 0.2,
    "disk": 0,
    "mem": 48,
    "ports": "[31029-31029]"
  },
  "source": "testtest.ca08dbeb-b05e-11e4-901a-56847afe9799",
  "tasks": [
    {
      "executor_id": "",
      "framework_id": "20141119-101031-201330860-5050-3757-0000",
      "id": "testtest.ca08dbeb-b05e-11e4-901a-56847afe9799",
      "name": "testtest",
      "resources": {
        "cpus": 0.1,
        "disk": 0,
        "mem": 16,
        "ports": "[31029-31029]"
      },
      "slave_id": "20150122-211400-234885292-5050-20977-S0",
      "state": "TASK_RUNNING",
      "statuses": [
        {
          "state": "TASK_RUNNING",
          "timestamp": 1423488189.20713
        }
      ]
    }
  ]
}
```




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