Make CommandInfo 'uri' field be repeated, possibly making a URI embedded 
message to describe whether or not we should 'chmod +x' the resulting resource.
--------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MESOS-171
                 URL: https://issues.apache.org/jira/browse/MESOS-171
             Project: Mesos
          Issue Type: Improvement
            Reporter: Benjamin Hindman
            Assignee: Vinod Kone
            Priority: Critical


As a final API change related to CommandInfo:

(a) Make the CommandInfo "uri" field be repeated instead of optional and (b) 
change the launcher to download each of the uri's and (c) add a comment above 
CommandInfo in mesos.proto that says we 'chmod +x' each uri (or figure out a 
way to possible "tag" which uris we want to 'chmod +x') and (d) have the 
scheduler make sure that each uri starts with a protocol (but don't currently 
support file://).

It might make sense to add something along the lines of:

message URI {
  required string value = 1;
  optional boolean executable = 2;
}

To decide whether or not we should download and make the artifact executable 
(via 'chmod +x').

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to