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

lining commented on FLINK-14422:
--------------------------------

[~trohrmann] Here, I mainly want to get information about the configuration of 
resources in TaskManagerServicesConfiguration. For example:
{code:java}
    private final long configuredMemory;

    private final MemoryType memoryType;

    private final boolean preAllocateMemory;

    private final float memoryFraction;

    private final int pageSize;

{code}
 

> Expose TaskExecutor resource configurations to rest api
> -------------------------------------------------------
>
>                 Key: FLINK-14422
>                 URL: https://issues.apache.org/jira/browse/FLINK-14422
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Task
>            Reporter: lining
>            Priority: Major
>
> TaskExecutors in the same Flink cluster might be configured with different 
> resources. It would be helpful to expose TaskExecutors' resource configs to 
> RESTful API, so it can be displayed on Flink web ui or queried by external 
> systems.
> Currently, resource configurations are used for creating 
> TaskExecutorServices, which will be passed into the TaskExecutor. The 
> TaskExecutor, after created, is not aware of its resource configuration.
> We propose to also pass the original resource configs into the TaskExecutor, 
> and report it to ResourceManager on registration. In that way, the rest 
> server can acquire the resource configs from ResourceManager, as part of 
> TaskManagerInfo.
>  



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

Reply via email to