You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yadong Xie (Jira)" <ji...@apache.org> on 2020/10/09 11:24:00 UTC
[jira] [Commented] (FLINK-14435) Add TaskManageResourceInfo which
match the memory compositions of taskmanager
[ https://issues.apache.org/jira/browse/FLINK-14435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210849#comment-17210849 ]
Yadong Xie commented on FLINK-14435:
------------------------------------
Hi [~mapohl]
thanks a lot for your work, I will update the frontend design once [https://github.com/apache/flink/pull/13547] finished
> 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)