[
https://issues.apache.org/jira/browse/FLINK-5135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15892049#comment-15892049
]
ASF GitHub Bot commented on FLINK-5135:
---------------------------------------
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: 淘江 <[email protected]>
Date: 2017-03-02T10:23:42Z
[FLINK-5135][runtime]Expand the fields in ResourceProfile based on
ResourceSpec
----
> ResourceProfile for slot request should be expanded to correspond with
> ResourceSpec
> -----------------------------------------------------------------------------------
>
> Key: FLINK-5135
> URL: https://issues.apache.org/jira/browse/FLINK-5135
> Project: Flink
> Issue Type: Sub-task
> Components: JobManager, ResourceManager
> Reporter: zhijiang
> Assignee: zhijiang
>
> The *JobManager* requests slot by *ResourceProfile* from *ResourceManager*
> before submitting tasks. Currently the *ResourceProfile* only contains cpu
> cores and memory properties. The memory should be expanded to different types
> such as heap memory, direct memory and native memory which corresponds with
> memory in *ResourceSpec*.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)