You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Brendan Chang (JIRA)" <ji...@apache.org> on 2015/06/09 23:12:01 UTC
[jira] [Assigned] (MESOS-2598) Slave state.json
frameworks.executors.queued_tasks wrong format?
[ https://issues.apache.org/jira/browse/MESOS-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brendan Chang reassigned MESOS-2598:
------------------------------------
Assignee: Brendan Chang
> Slave state.json frameworks.executors.queued_tasks wrong format?
> ----------------------------------------------------------------
>
> Key: MESOS-2598
> URL: https://issues.apache.org/jira/browse/MESOS-2598
> Project: Mesos
> Issue Type: Bug
> Components: statistics
> Affects Versions: 0.22.0
> Environment: Linux version 3.10.0-229.1.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 27 03:04:26 UTC 2015
> Reporter: Matthias Veit
> Assignee: Brendan Chang
> Priority: Minor
> Labels: newbie
>
> queued_tasks.executor_id is expected to be a string and not a complete json object. It should have the very same format as the tasks array on the same level.
> Example, directly taken from slave
> {noformat}
> ....
> "queued_tasks": [
> {
> "data": "",
> "executor_id": {
> "command": {
> "argv": [],
> "uris": [
> {
> "executable": false,
> "value": "http://downloads.foo.io/orchestra/storm-mesos/0.9.2-incubating-47-ovh.bb373df1c/storm-mesos-0.9.2-incubating.tgz"
> }
> ],
> "value": "cd storm-mesos* && python bin/storm supervisor storm.mesos.MesosSupervisor"
> },
> "data": "{\"assignmentid\":\"srv4.hw.ca1.foo.com\",\"supervisorid\":\"srv4.hw.ca1.foo.com-stage-ingestion-stats-slave-111-1428421145\"}",
> "executor_id": "stage-ingestion-stats-slave-111-1428421145",
> "framework_id": "20150401-160104-251662508-5050-2197-0002",
> "name": "",
> "resources": {
> "cpus": 0.5,
> "disk": 0,
> "mem": 1000
> }
> },
> "id": "srv4.hw.ca1.foo.com-31708",
> "name": "worker srv4.hw.ca1.foo.com:31708",
> "resources": {
> "cpus": 1,
> "disk": 0,
> "mem": 5120,
> "ports": "[31708-31708]"
> },
> "slave_id": "20150327-025553-218108076-5050-4122-S0"
> },
> ...
> ]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)