[
https://issues.apache.org/jira/browse/FLINK-16440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann resolved FLINK-16440.
-----------------------------------
Resolution: Fixed
Fixed via
c47ee2814aa0ef62237797626daaea95d6d52ca7
5330e9b7f046736ce5a93249f096f550adf0ae34
e7e5e1dadad4b385b00d3e4d89eead03e77921a2
44fde5d301c17a6d3a8e89817679fa14c7b254c8
> Extend SlotManager metrics and status for dynamic slot allocation.
> ------------------------------------------------------------------
>
> Key: FLINK-16440
> URL: https://issues.apache.org/jira/browse/FLINK-16440
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Metrics
> Reporter: Xintong Song
> Assignee: Xintong Song
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> * Create a slotManagerMetricGroup in resourceManagerMetricGroup, pass it into
> SM and register slot related metrics there.
> ** This allows registering different metrics for different SM implementation.
> ** For backwards compatibility, the slotManagerMetricGroup should have the
> same path as the resourceManagerMetricGroup.
> * Extend ResourceOverview and TaskManagerInfo to contain TM total / free /
> allocated resources.
> ** Need to add methods to SM for getting TM resource status.
> ** For SlotManagerImpl,
> *** The existing methods for getting number of registered / free slots need
> no changes.
> *** TM resource status can be computed from TaskExecutorProcessSpec, slot
> profiles and number of free slots.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)