Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7490

Improve flags warnings for protobuf parsing failures.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tillt Till Toenshoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: