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

Andrey Zagrebin commented on FLINK-14435:
-----------------------------------------

[~lining] 

which previous configuration do you mean?

What you are writing about the TM memory configuration is true but how is it 
related to this ticket?
This ticket is about exposing the result of the configuration, meaning TM is 
already successfully configured and the TM is running.

> Add TaskManageResourceInfo which match the memory compositions of taskmanager
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-14435
>                 URL: https://issues.apache.org/jira/browse/FLINK-14435
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / REST
>            Reporter: lining
>            Assignee: Matthias
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> * information from TaskExecutorResourceSpec in flip-49, add it to 
> TaskExecutorRegistration.
> {code:json}
> public class TaskManagerResourceInfo {
>     private final double cpuCores;
>     private final long frameworkHeap;
>     private final long frameworkOffHeap;
>     private final long taskHeap;
>     private final long taskOffHeap;
>     private final long shuffleMemory;
>     private final long managedMemory;
>     private final long jvmMetaSpace;
>     private final long jvmOverhead;
>     private final long totalProcessMemory;
> }{code}
>  * url: /taskmanagers/:taskmanagerid
>  * response: add
> {code:java}
> resource: {
>   cpuCores: 4,
>   frameworkHeap: 134217728,
>   frameworkOffHeap: 134217728,
>   taskHeap: 181193928,
>   taskOffHeap: 0,
>   shuffleMemory: 33554432,
>   managedMemory: 322122552,
>   jvmMetaSpace: 134217728,
>   jvmOverhead: 134217728,
>   totalProcessMemory: 1073741824
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to