Egor Ryashin created MESOS-7212:
-----------------------------------

             Summary: CommandInfo first argument is ignored
                 Key: MESOS-7212
                 URL: https://issues.apache.org/jira/browse/MESOS-7212
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 1.1.0
         Environment: MacOS Sierra 10.12.2
            Reporter: Egor Ryashin


First argument of CommandInfo is ignored, for example using:
{code}
                CommandInfo commandInfo = CommandInfo.newBuilder() 
                    .setShell(false) 
                    .addArguments("1") 
                    .addArguments("2") 
                    .addArguments("3") 
                    .setValue("echo")
{code}
I get in the sandbox stdout:
{noformat}
Starting task ta35555e2-6234-4f8c-a609-e4b9064b4cf5
/usr/local/Cellar/mesos/1.1.0/libexec/mesos/mesos-containerizer launch 
--command="{"arguments":["1","2","3"],"shell":false,"value":"echo"}" 
--help="false"
Forked command at 95660
2 3
Command exited with status 0 (pid: 95660)
               {noformat}



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

Reply via email to