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

Add support for command and arguments to mesos-execute.

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.27.2, 0.28.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Mesosphere Sprint 33
    • Story Points:
      5

      Description

      CommandInfo protobuf support two kinds of command:

      // There are two ways to specify the command:
        // 1) If 'shell == true', the command will be launched via shell
        //		(i.e., /bin/sh -c 'value'). The 'value' specified will be
        //		treated as the shell command. The 'arguments' will be ignored.
        // 2) If 'shell == false', the command will be launched by passing
        //		arguments to an executable. The 'value' specified will be
        //		treated as the filename of the executable. The 'arguments'
        //		will be treated as the arguments to the executable. This is
        //		similar to how POSIX exec families launch processes (i.e.,
        //		execlp(value, arguments(0), arguments(1), ...)).
      

      The mesos-execute cannot handle 2) now, enabling 2) can help with testing and running one off tasks.

        Attachments

          Activity

            People

            • Assignee:
              gyliu Guangya Liu
              Reporter:
              gyliu Guangya Liu
              Shepherd:
              Alexander Rukletsov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: