You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2017/05/10 13:01:04 UTC

[jira] [Created] (MESOS-7490) Improve flags warnings for protobuf parsing failures.

Till Toenshoff created MESOS-7490:
-------------------------------------

             Summary: Improve flags warnings for protobuf parsing failures.
                 Key: MESOS-7490
                 URL: https://issues.apache.org/jira/browse/MESOS-7490
             Project: Mesos
          Issue Type: Improvement
            Reporter: Till Toenshoff


After introducing a bug into Mesos, I noticed that our command-executor's flags parsing did not identify protobuf parsing failures as such.
Specifically I had supplied a JSONed {{hashmap}} for the parameter "--task_environment" which should in fact have received a JSONified Protobuf Message typed {{Environment}}.

The executor which intends to parse the given flag into an {{Option<Environment>}} did not show any warnings but parsed this as a valid but empty  {{Environment}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)