[
https://issues.apache.org/jira/browse/FLINK-22583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340115#comment-17340115
]
Chesnay Schepler commented on FLINK-22583:
------------------------------------------
The only way to display completed jobs after a leader change is to use a
HistoryServer. Since you configured everything for the HistoryServer already,
you just need to access it's WebUI. (It is separate from the JM).
> Flink UI is not showing completed jobs once JM Leader is deleted
> -----------------------------------------------------------------
>
> Key: FLINK-22583
> URL: https://issues.apache.org/jira/browse/FLINK-22583
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Kubernetes
> Affects Versions: 1.12.2
> Reporter: Bhagi
> Priority: Major
>
> Hi Team,
> when i was testing Flink HA with zk , i executed few jobs from WebUI,
> completed jobs were showing under completed jobs section.
> As part of Leader election testing, i killed the current leader JM , and lost
> the jobs from Web UI also.
> I have enabled following configuration already.
> jobstore.expiration-time=86400
> jobstore.max-capacity=200
> jobmanager.archive.fs.dir: file:///persistent/flinkData2/completed-jobs
> historyserver.archive.fs.refresh-interval: 10000
> historyserver.archive.fs.dir: file:///persistent/flinkData2/completed-jobs
> Any other configuration is need to store the jobs irrespective of jobmanager
> Leader.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)