mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Wei (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-6224) mesos-docker-executor port collision with container(network:host)
Date Thu, 22 Sep 2016 04:21:20 GMT
Wei Wei created MESOS-6224:
------------------------------

             Summary: mesos-docker-executor port collision with container(network:host)
                 Key: MESOS-6224
                 URL: https://issues.apache.org/jira/browse/MESOS-6224
             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 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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message