[ 
https://issues.apache.org/jira/browse/MESOS-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964803#comment-14964803
 ] 

Guangya Liu commented on MESOS-3764:
------------------------------------

If the task failed, then the mesos master will call recoverResources to return 
the resource back and then this resource can be re-offered. [~serejja] can you 
please check mesos master log to see if the resource is return back to mesos 
master after the task failed?

> Port not re-offered after task dies
> -----------------------------------
>
>                 Key: MESOS-3764
>                 URL: https://issues.apache.org/jira/browse/MESOS-3764
>             Project: Mesos
>          Issue Type: Bug
>          Components: scheduler driver
>    Affects Versions: 0.23.0
>            Reporter: Serhey Novachenko
>
> I have a Mesos framework configured to accept a specific port for tasks 
> (31150 in my case) and I have amount of tasks == amount of slaves so 
> basically I have a task running on each slave on port 31150.
> I have Mesos slaves configured to offer 4000..7000,31000..32000 and I was 
> successfully running all tasks until one of them threw an exception and died. 
> The framework got the TASK_FAILED status update and I expected the task to be 
> relaunched on the same machine and port but instead my framework says no 
> offer has port 31150 in it. Is there a case when Mesos does not re-offer the 
> port of dead task?



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

Reply via email to