You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by zhijiangW <gi...@git.apache.org> on 2017/03/02 10:50:01 UTC

[GitHub] flink pull request #3457: [FLINK-5135][runtime] Expand the memory types in R...

GitHub user zhijiangW opened a pull request:

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

    [FLINK-5135][runtime] Expand the memory types in ResourceProfile related with ResourceSpec

    This is a part of fine-grained resource configuration in `flip6`
    
    The `JobManager` requests slot with `ResourceProfile` from `ResourceManager` before deployment. Currently the `ResourceProfile` only contains cpu cores and memory fields. The memory should be expanded to different types like heap memory, direct memory and native memory corresponding with `ResourceSpec`.
    
    Further, the direct memory in `ResourceProfile` would be considered in `ContaineredTaskManagerParameters` used to set JVM options before launching the `TaskManager` process.
    
    And some other related processes in runtime would be submitted later:
    1. `SlotPool` requests slot to get preferred resource from `JobVertex`, which is blocked by [PR-3455](https://github.com/apache/flink/pull/3455)
    2. Sets the `ResourceProfile` to `TaskManager` by `ResourceManager`

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

    $ git pull https://github.com/zhijiangW/flink FLINK-5135

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

    https://github.com/apache/flink/pull/3457.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 #3457
    
----
commit c1dcf48f2d5b3d444fba0f1cd23c7c0070621796
Author: \u6dd8\u6c5f <ta...@alibaba-inc.com>
Date:   2017-03-02T10:23:42Z

    [FLINK-5135][runtime]Expand the fields in ResourceProfile based on ResourceSpec

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #3457: [FLINK-5135] [runtime] [FLIP-6] Expand the memory types i...

Posted by StephanEwen <gi...@git.apache.org>.
Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3457
  
    Looks good to me. merging this...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink pull request #3457: [FLINK-5135] [runtime] [FLIP-6] Expand the memory ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---