[ 
https://issues.apache.org/jira/browse/MESOS-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170806#comment-15170806
 ] 

Michael Park commented on MESOS-4754:
-------------------------------------

{noformat}
commit b91a740fb3c6deca4b8f1ab6a7d83decf144b5fb
Author: Michael Park <[email protected]>
Date:   Sat Feb 27 18:12:13 2016 -0800

    Required jsonifying of generic protobuf to be explicit opt-in [mesos].

    Review: https://reviews.apache.org/r/43939/
{noformat}
{noformat}
commit 19945044e46b8512df5cd08469941b4d4da429a7
Author: Michael Park <[email protected]>
Date:   Sat Feb 27 18:12:00 2016 -0800

    Required jsonifying of generic protobuf to be explicit opt-in [stout].

    Review: https://reviews.apache.org/r/43938/
{noformat}

> The "executors" field is exposed under a backwards incompatible schema.
> -----------------------------------------------------------------------
>
>                 Key: MESOS-4754
>                 URL: https://issues.apache.org/jira/browse/MESOS-4754
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Michael Park
>            Assignee: Michael Park
>              Labels: mesosphere
>             Fix For: 0.27.2, 0.26.1, 0.25.1, 0.24.2
>
>
> In 0.26.0, the master's {{/state}} endpoint generated the following:
> {code}
> {
>   /* ... */
>   "frameworks": [
>     {
>       /* ... */
>       "executors": [
>         {
>           "command": {
>             "argv": [],
>             "uris": [],
>             "value": 
> "/Users/mpark/Projects/mesos/build/opt/src/long-lived-executor"
>           },
>           "executor_id": "default",
>           "framework_id": "0ea528a9-64ba-417f-98ea-9c4b8d418db6-0000",
>           "name": "Long Lived Executor (C++)",
>           "resources": {
>             "cpus": 0,
>             "disk": 0,
>             "mem": 0
>           },
>           "slave_id": "8a513678-03a1-4cb5-9279-c3c0c591f1d8-S0"
>         }
>       ],
>       /* ... */
>     }
>   ]
>   /* ... */
> }
> {code}
> In 0.27.1, the {{ExecutorInfo}} is mistakenly exposed in the raw protobuf 
> schema:
> {code}
> {
>   /* ... */
>   "frameworks": [
>     {
>       /* ... */
>       "executors": [
>         {
>           "command": {
>             "shell": true,
>             "value": 
> "/Users/mpark/Projects/mesos/build/opt/src/long-lived-executor"
>           },
>           "executor_id": {
>             "value": "default"
>           },
>           "framework_id": {
>             "value": "368a5a49-480b-41f6-a13b-24a69c92a72e-0000"
>           },
>           "name": "Long Lived Executor (C++)",
>           "slave_id": "8a513678-03a1-4cb5-9279-c3c0c591f1d8-S0",
>           "source": "cpp_long_lived_framework"
>         }
>       ],
>       /* ... */
>     }
>   ]
>   /* ... */
> }
> {code}
> This is a backwards incompatible API change.



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

Reply via email to