You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/03 15:25:45 UTC

[jira] [Commented] (FLINK-5904) jobmanager.heap.mb and taskmanager.heap.mb not work in YARN mode

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

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

Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3414#discussion_r104174440
  
    --- Diff: flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java ---
    @@ -110,7 +110,12 @@
     	public static final String EXECUTION_RETRY_DELAY_KEY = "execution-retries.delay";
     	
     	// -------------------------------- Runtime -------------------------------
    -	
    +
    +	/**
    +	 * JVM heap size (in megabytes) for the JobManager
    +	 */
    +	public static final String JOB_MANAGER_HEAP_MEMORY_KEY = "jobmanager.heap.mb";
    --- End diff --
    
    Can we introduce these values as a `ConfigOption` instead of an entry to `ConfigConstants`? I think it might go to `TaskManagerOptions` and to `JobManagerOptions`.


> jobmanager.heap.mb and taskmanager.heap.mb not work in YARN mode
> ----------------------------------------------------------------
>
>                 Key: FLINK-5904
>                 URL: https://issues.apache.org/jira/browse/FLINK-5904
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN
>            Reporter: Tao Wang
>            Assignee: Tao Wang
>         Attachments: screenshot-1.png
>
>
> I set taskmanager.heap.mb to 5120 and jobmanager.heap.mb to 2048, and run ./yarn-session.sh -n 3, but the YARN only allocates 4GB for this application.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)