[ https://issues.apache.org/jira/browse/FLINK-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865127#comment-15865127 ]
ASF GitHub Bot commented on FLINK-5791: --------------------------------------- GitHub user shuai-xu opened a pull request: https://github.com/apache/flink/pull/3304 [FLINK-5791] [runtime] Resource should be strictly matched when allocating for yarn This pr is for jira #[5791](https://issues.apache.org/jira/browse/FLINK-5791). It has following changes: 1. Yarn RM will pass the real ResourceProfile to TM for initializing the slots. 2. Add a SMRFSlotManager for allocating slots only resource strictly equal. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shuai-xu/flink jira-5791 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3304.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 #3304 ---- commit 5d00959feed419ade08218a5570b884d88108dcf Author: shuai.xus <shuai....@alibaba-inc.com> Date: 2017-02-14T05:48:17Z [FLINK-5791] [runtime] Resource should be strictly matched when allocating for yarn ---- > Resource should be strictly matched when allocating for yarn > ------------------------------------------------------------ > > Key: FLINK-5791 > URL: https://issues.apache.org/jira/browse/FLINK-5791 > Project: Flink > Issue Type: Improvement > Components: YARN > Reporter: shuai.xu > Assignee: shuai.xu > Labels: flip-6 > > For yarn mode, resource should be assigned as requested to avoid resource > wasting and OOM. > 1. YarnResourceManager will request container according to ResourceProfile > in slot request form JM. > 2. RM will pass the ResourceProfile to TM for initializing its slots. > 3. RM should match the slots offered by TM with SlotRequest from JM strictly. -- This message was sent by Atlassian JIRA (v6.3.15#6346)