hi, Lu Niu

As a workaround, you could use the following ways  to get the custom
accumulator you defined.
1. RestCluserClient#getAccumulators method
2. /jobs/:jobid/accumulators  Rest API

Best.
Jiadong Lu

Lu Niu <qqib...@gmail.com> 于2025年4月29日周二 00:41写道:
>
> I am currently running a Flink job in batch mode and using the Accumulator 
> API to develop some statistics: 
> https://nightlies.apache.org/flink/flink-docs-release-1.7/api/java/index.html?org/apache/flink/api/common/accumulators/class-use/Accumulator.html
>
> I expected the job to display the accumulator results in the Flink History 
> Server after completion, but the UI remains blank. After some investigation, 
> I discovered that the accumulator values are only visible while the job is 
> running.
>
> Is this the expected behavior? Does the community have any plans to enable 
> viewing accumulator results after the job has completed, similar to how it 
> works in Spark? Thank you!
>
> best
> Lu

Reply via email to