Benno Evers created MESOS-10035:
-----------------------------------

             Summary: Implement `enable_http_executor_domain_sockets` agent flag
                 Key: MESOS-10035
                 URL: https://issues.apache.org/jira/browse/MESOS-10035
             Project: Mesos
          Issue Type: Task
            Reporter: Benno Evers


Based on the design in 
https://docs.google.com/document/d/1RUvjoBvM3UX_lLcq_J_crWpMMn3nO8CY0KWc655ELsM/edit
 we need:

 * A `--enable_http_executor_domain_sockets[=true|false]` flag
 * An `optional StringValue mesos_socket_location` field in the `ContainerInfo` 
protobuf

(note: the last one is still under discussion and has a high chance of being 
dropped from the final design, so ideally the commits will be structured such 
that it can easily be dropped from the code as well)

The basic functionality we'd like for this task is, in pseudocode:
{noformat}
DURING task launch
    IF launching new executor && enable_http_executor_domain_sockets == True && 
!domain sockets disabled for this executor:
        Inject MESOS_DOMAIN_SOCKET environment variable pointing to `<executor 
root>/agent.sock` or `mesos_socket_location` into the executor environment.
{noformat}
 
The code that actually creates the socket and puts it into the location pointed 
to by `MESOS_DOMAIN_SOCKET` will be implemented in a separate ticket.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to