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)

Reply via email to