[
https://issues.apache.org/jira/browse/FLINK-9339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473041#comment-16473041
]
ASF GitHub Bot commented on FLINK-9339:
---------------------------------------
GitHub user yanghua opened a pull request:
https://github.com/apache/flink/pull/5997
[FLINK-9339] Accumulators are not UI accessible running in FLIP-6 mode
## What is the purpose of the change
*This pull request fixed a issue : accumulators are not UI accessible
running in FLIP-6 mode*
## Brief change log
- *fixed header and handler error mapping*
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## 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**)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanghua/flink FLINK-9339
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5997.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 #5997
----
commit 0b25eb681f19bc1a3b031290d25a3b6eaec962ec
Author: yanghua <yanghua1127@...>
Date: 2018-05-12T11:10:54Z
[FLINK-9339] Accumulators are not UI accessible running in FLIP-6 mode
----
> Accumulators are not UI accessible running in FLIP-6 mode
> ---------------------------------------------------------
>
> Key: FLINK-9339
> URL: https://issues.apache.org/jira/browse/FLINK-9339
> Project: Flink
> Issue Type: Bug
> Components: REST
> Affects Versions: 1.5.0
> Reporter: Cliff Resnick
> Assignee: vinoyang
> Priority: Minor
>
> Using 1.5-rc2, when I run a job in flip-6 mode and try to access Accumulators
> in the UI nothing shows. Looking at the Job manager log there is this error:
>
> 2018-05-11 17:09:04,707 ERROR
> org.apache.flink.runtime.rest.handler.job.SubtaskCurrentAttemptDetailsHandler
> - Could not create the handler request.
> org.apache.flink.runtime.rest.handler.HandlerRequestException: Cannot resolve
> path parameter (subtaskindex) from value "accumulators".
> at
> org.apache.flink.runtime.rest.handler.HandlerRequest.<init>(HandlerRequest.java:61)
> at
> org.apache.flink.runtime.rest.AbstractHandler.respondAsLeader(AbstractHandler.java:155)
> at
> org.apache.flink.runtime.rest.handler.RedirectHandler.lambda$null$0(RedirectHandler.java:139)
> at
> java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
> at
> java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
> at
> java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
> at
> org.apache.flink.shaded.netty4.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)
> at
> org.apache.flink.shaded.netty4.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
> at
> org.apache.flink.shaded.netty4.io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
> at
> org.apache.flink.shaded.netty4.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:748)
>
> This error does not occur when running the same job in legacy mode.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)