[
https://issues.apache.org/jira/browse/FLINK-9943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558343#comment-16558343
]
ASF GitHub Bot commented on FLINK-9943:
---------------------------------------
chuanlei opened a new pull request #6429: [FLINK-9943] Support
TaskManagerMetricQueryServicePaths msg in JobManager Actor
URL: https://github.com/apache/flink/pull/6429
## What is the purpose of the change
This pull request makes metric system be exposed to external akka client
fully instead of only Jobmanager's metric*
## Brief change log
- *Add RequestTaskManagerMetricQueryServicePaths message in JobManager
actor*
- *Add RequestTaskManagerMetricQueryServicePaths and
TaskManagerMetricQueryServicePaths in JobMessages*
- *Refactor TaskManagerMetricQueryServicePaths's
requestTaskManagerMetricQueryServicePaths method *
## Verifying this change
This change added tests and can be verified as follows:
- *Manually verified the change by running a 4 node cluser with 2
JobManagers and 4 TaskManagers, WebRuntimeMonitor works correctly and external
akka system can fetch metrics correctly*
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / **no**)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes / **no**)
- The serializers: (yes / **no** / don't know)
- The runtime per-record code paths (performance sensitive): (yes / **no**
/ don't know)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
- The S3 file system connector: (yes / **no** / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs
/ not documented)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Support TaskManagerMetricQueryServicePaths msg in JobManager Actor
> ------------------------------------------------------------------
>
> Key: FLINK-9943
> URL: https://issues.apache.org/jira/browse/FLINK-9943
> Project: Flink
> Issue Type: New Feature
> Components: Core
> Affects Versions: 1.5.0, 1.5.1
> Reporter: Chuanlei Ni
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> The reasons are as follows
> # AkkaJobManagerGateway wraps jm actor ref to support such functionality by
> request RegisteredTaskManagers firstly and request task manager actor to get
> metric query service path one by one. the procedure above is resource-wasted.
> It will be more efficient if we support this functionality in the jm actor
> # we can expose flink metric system directly to external system (such as
> flink client and the like) to support more features in future. For now,
> metric system has been exposed partially because Instance can not (and should
> not) be transfered remotely. This feature will make metrics exposure
> consistent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)