GitHub user ifndef-SleePy opened a pull request:
https://github.com/apache/flink/pull/5285
[FLINK-8369] [REST] Migrate SubtaskExecutionAttemptAccumulatorsHandler to
new a REST handler
## What is the purpose of the change
* MigrateÂ
`org.apache.flink.runtime.rest.handler.legacy.SubtaskExecutionAttemptAccumulatorsHandler`
to Flip-6Â `WebMonitorEndpoint`.
* This PR is based on [#5270](https://github.com/apache/flink/pull/5270)
## Brief change log
* Add `SubtaskExecutionAttemptAccumulatorsHandler` in Flip-6 REST
framework.
* Move inner class `UserAccumulator` to public, make it reusable.
## Verifying this change
* This change added unit tests.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alibaba/flink FLINK-8369
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5285.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5285
----
commit 16b3f11b96b1a8b0f290945af3d255d47739992e
Author: biao.liub <biao.liub@...>
Date: 2018-01-10T06:25:07Z
[FLINK-8368] Migrate
org.apache.flink.runtime.rest.handler.legacy.SubtaskExecutionAttemptDetailsHandler
to new a REST handler that registered in WebMonitorEndpoint
commit 50eb6e72293abc02ef17707f3d70e069d2f2a463
Author: biao.liub <biao.liub@...>
Date: 2018-01-12T08:38:55Z
[FLINK-8368] Add attempts path info that is missing in
SubtaskExecutionAttemptDetailsHeaders
commit 97124dfe717702b46f0a105b78cf86f18ac063a9
Author: biao.liub <biao.liub@...>
Date: 2018-01-12T08:33:08Z
[FLINK-8369] Migrate SubtaskExecutionAttemptAccumulatorsHandler to Flip-6
REST endpoint
commit 2617cf22f69bd1e7ec6e34056bce6120a1164bd9
Author: biao.liub <biao.liub@...>
Date: 2018-01-12T08:33:57Z
[FLINK-8369] Migrate SubtaskExecutionAttemptAccumulatorsHandler to Flip-6
REST endpoint
commit 52199031f81c7a267c28cf340035bc4299ac7f3c
Author: biao.liub <biao.liub@...>
Date: 2018-01-12T09:57:05Z
[FLINK-8369] Fix some compiling issues.
----
---