[jira] [Commented] (MESOS-10035) Implement `enable_http_executor_domain_sockets` agent flag
[ https://issues.apache.org/jira/browse/MESOS-10035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16981704#comment-16981704 ] Benno Evers commented on MESOS-10035: - https://reviews.apache.org/r/71816/ > 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 >Assignee: Benjamin Bannier >Priority: Major > > 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 for the > mesos agent. > 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: > Inject MESOS_DOMAIN_SOCKET environment variable pointing to > `/agent.sock` > {noformat} > > Setting the environment variable can be done in the > `slave.cpp:executorEnvironment()` function. > 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)
[jira] [Commented] (MESOS-10039) Let the built-in executors connect through a domain socket when available
[ https://issues.apache.org/jira/browse/MESOS-10039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16981637#comment-16981637 ] Benno Evers commented on MESOS-10039: - https://reviews.apache.org/r/71814/ https://reviews.apache.org/r/71815/ > Let the built-in executors connect through a domain socket when available > - > > Key: MESOS-10039 > URL: https://issues.apache.org/jira/browse/MESOS-10039 > Project: Mesos > Issue Type: Task >Reporter: Benno Evers >Assignee: Benno Evers >Priority: Major > > We should implement code in the default executor that checks for the presence > of the `MESOS_DOMAIN_SOCKET` environment variable, and if it is set attempts > to use that for communication with the agent as opposed to trying to open a > TCP connection. > The same should be done for the command executor, when it is using the v1 API > to connect to the agent. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (MESOS-10039) Let the built-in executors connect through a domain socket when available
[ https://issues.apache.org/jira/browse/MESOS-10039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benno Evers reassigned MESOS-10039: --- Assignee: Benno Evers > Let the built-in executors connect through a domain socket when available > - > > Key: MESOS-10039 > URL: https://issues.apache.org/jira/browse/MESOS-10039 > Project: Mesos > Issue Type: Task >Reporter: Benno Evers >Assignee: Benno Evers >Priority: Major > > We should implement code in the default executor that checks for the presence > of the `MESOS_DOMAIN_SOCKET` environment variable, and if it is set attempts > to use that for communication with the agent as opposed to trying to open a > TCP connection. > The same should be done for the command executor, when it is using the v1 API > to connect to the agent. -- This message was sent by Atlassian Jira (v8.3.4#803005)