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

ASF GitHub Bot commented on FLINK-8174:
---------------------------------------

Github user EronWright commented on the issue:

    https://github.com/apache/flink/pull/5114
  
    Log output showing a 'mixed' scenario, involving two tasks, combining 
resources across the reserved and unreserved resources in a single offer.
    ```
    Assigning resources: [cpus(myrole):2.0; mem(myrole):4096.0; 
ports(myrole):[1025-2180]; 
ports(*):[2182-3887,3889-5049,5052-8079,8082-8180,8182-32000]; disk(*):28829.0; 
cpus(*):2.0; mem(*):10766.0]   
    
    Processing task taskmanager-00002                                           
                                              
    Allocating 1.5 cpus                                                         
                                              
    Taking 1.5 from cpus(myrole):2.0                                            
 
    Allocated: [cpus(myrole):1.5], unsatisfied: 0.0                             
 
    Allocating 4096.0 mem                                                       
                                              
    Taking 4096.0 from mem(myrole):4096.0                                       
 
    Allocated: [mem(myrole):4096.0], unsatisfied: 0.0                           
 
    Allocating 2 ports                                                          
                                              
    Taking [1025-1026] from ports(myrole):[1025-2180]                           
 
    Allocated: [ports(myrole):[1025-1026]], unsatisfied: 0                      
 
    
    Processing task taskmanager-00001                                           
                                              
    Allocating 1.5 cpus                                                         
                                              
    Taking 0.5 from cpus(myrole):0.5                                            
 
    Taking 1.0 from cpus(*):2.0                                                 
                                              
    Allocated: [cpus(myrole):0.5; cpus(*):1.0], unsatisfied: 0.0                
 
    Allocating 4096.0 mem                                                       
                                              
    Taking 4096.0 from mem(*):10766.0                                           
                                              
    Allocated: [mem(*):4096.0], unsatisfied: 0.0                                
                                              
    Allocating 2 ports                                                          
                                              
    Taking [1027-1028] from ports(myrole):[1027-2180]                           
 
    Allocated: [ports(myrole):[1027-1028]], unsatisfied: 0                      
 
    
    Remaining resources: [ports(myrole):[1029-2180]; 
ports(*):[2182-3887,3889-5049,5052-8079,8082-8180,8182-32000]; disk(*):28829.0; 
cpus(*):1.0; mem(*):6670.0]
    ```


> Mesos RM unable to accept offers for unreserved resources
> ---------------------------------------------------------
>
>                 Key: FLINK-8174
>                 URL: https://issues.apache.org/jira/browse/FLINK-8174
>             Project: Flink
>          Issue Type: Bug
>          Components: Mesos
>    Affects Versions: 1.4.0, 1.3.3
>            Reporter: Eron Wright 
>            Assignee: Eron Wright 
>            Priority: Blocker
>             Fix For: 1.4.0
>
>
> Flink has suffered a regression due to FLINK-7294.   Any attempt to accept a 
> resource offer that is based on unreserved resources will fail, because Flink 
> (as of FLINK-7294) erroneously insists that the resource come from a prior 
> reservation.
> Looking at the original issue, the problem may have been misdiagnosed.  
> Ideally Flink should work with both reserved and unreserved resources, but 
> the latter is a more common situation that is now broken.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to