[
https://issues.apache.org/jira/browse/MESOS-6225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei Wei updated MESOS-6225:
---------------------------
Description:
we implement a scheduler to launch a batch of data process worker in docker
container, we use network: host and assign random picked port for the process
worker and encounter a port collision problem:
the port we choose for the container was taken by the mesos-docker-container.
mesos-agent resource config:
{"name":"ports","type":"RANGES","ranges":{"range":
[{"begin":10000,"end":32000}]}}]
root@xs35:lsof -i:31981
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mesos-doc 2835 root 8u IPv4 433237650 0t0 TCP 10.34.38.30:31981
(LISTEN)
the port was taken by mesos-docker-executor and the framework still offer port
resource 31981
is there a way to set mesos-docker-executors port range?
was:
we implement a scheduler to launch a batch of data process worker in docker
container, we use network: host and assign random pick port for the process
worker and encounter a port collision problem:
the port we choose for the container was taken by the mesos-docker-container.
mesos-agent resource config:
{"name":"ports","type":"RANGES","ranges":{"range":
[{"begin":10000,"end":32000}]}}]
root@xs35:lsof -i:31981
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mesos-doc 2835 root 8u IPv4 433237650 0t0 TCP 10.34.38.30:31981
(LISTEN)
the port was taken by mesos-docker-executor and the framework still offe port
resource 31981
is there a way to set mesos-docker-executors port range?
> mesos-docker-executor port collision with container(network:host)
> -----------------------------------------------------------------
>
> Key: MESOS-6225
> URL: https://issues.apache.org/jira/browse/MESOS-6225
> Project: Mesos
> Issue Type: Bug
> Components: containerization
> Affects Versions: 1.0.1
> Environment: ubuntu 14.04 LTS
> mesos 1.0.1
> Reporter: Wei Wei
>
> we implement a scheduler to launch a batch of data process worker in docker
> container, we use network: host and assign random picked port for the process
> worker and encounter a port collision problem:
> the port we choose for the container was taken by the mesos-docker-container.
> mesos-agent resource config:
> {"name":"ports","type":"RANGES","ranges":{"range":
> [{"begin":10000,"end":32000}]}}]
> root@xs35:lsof -i:31981
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> mesos-doc 2835 root 8u IPv4 433237650 0t0 TCP 10.34.38.30:31981
> (LISTEN)
> the port was taken by mesos-docker-executor and the framework still offer
> port resource 31981
> is there a way to set mesos-docker-executors port range?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)