Dmitriy Linevich created FLINK-37501:
----------------------------------------
Summary: Incorrect url for jobmanager log on history server
Key: FLINK-37501
URL: https://issues.apache.org/jira/browse/FLINK-37501
Project: Flink
Issue Type: Bug
Components: Runtime / Web Frontend
Reporter: Dmitriy Linevich
History server use incorrect url to jobmanager logs for job.
Reproduce scenario:
* start history server with following config
{code:java}
jobmanager.archive.fs.dir: file:///tmp/jobs
# Monitor the following directories for completed jobs
historyserver.archive.fs.dir: file:///tmp/jobs
# Refresh every 10 seconds
historyserver.archive.fs.refresh-interval: 10000
historyserver.web.tmpdir: file:///tmp/historyj
# HistoryServer will replace <jobid> with the relevant job id
historyserver.log.jobmanager.url-pattern: http://my.log-browsing.url/<jobid>
{code}
* need to have 2 or more jobs in history
* open first job page
* open 'completed jobs' page
* open second job page (in url for logs used job id of first job)
* !Screenshot from 2025-03-18 11-54-03.png|width=986,height=451!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)