GitHub user EronWright opened a pull request:

    https://github.com/apache/flink/pull/5114

    [FLINK-8174] [mesos] Mesos RM unable to accept offers for unreserved 
resources

    ## What is the purpose of the change
    This PR improves the Mesos RM to work correctly with both reserved and 
unreserved resources.
    
    ## Brief change log
    - Introduce `MesosResourceAllocation` to allocate offered resources to task 
resources.
    - Introduce `Offer` to replace Fenzo's `VMLeaseObject` with proper 
accumulation across reserved and unreserved resources.
    
    ## Verifying this change
    
    This change added tests and can be verified as follows:
    - Unit tests:
      - `MesosResourceAllocationTest`
    - Manual tests:
      - Launch with unreserved resources
      - Launch with a static reservation
      - Launch with a dynamic reservation
      - Launch with a mix of reserved and unreserved resources
      - Launch numerous tasks from a single offer
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): no
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: no
      - The serializers: no
      - The runtime per-record code paths (performance sensitive): no
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: no
      - The S3 file system connector: no
    
    ## Documentation
    
      - Does this pull request introduce a new feature? no
      - If yes, how is the feature documented? not applicable


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/EronWright/flink FLINK-8174-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5114.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5114
    
----
commit 66d885b14ba9cd823489e6f61665459b6af45fbd
Author: Eron Wright <eronwri...@gmail.com>
Date:   2017-12-03T11:14:41Z

    [FLINK-8174] Mesos RM unable to accept offers for unreserved resources

----


---

Reply via email to