[ https://issues.apache.org/jira/browse/KYLIN-5990 ]
Guoliang Sun deleted comment on KYLIN-5990:
-------------------------------------
was (Author: JIRAUSER298470):
*Root Cause:*
When the query node starts, it assigns the value of metadata.url to
queryHistory.url, then sets metadata.url to HDFS. However, in the recommended
code, the value of metadata.url is mistakenly assigned to JdbcQueryHistory.url,
and then metadata.url is set to HDFS. Afterward, the modified metadata.url is
reassigned to queryHistory.url. This causes queryHistoryStore to use the HDFS
address, leading to errors.
*Fix Design:*
Since JdbcQueryHistory.url is not actually used, simply remove it and restore
the original logic.
> [Storage V3] Triggering optimization task throws an error
> ---------------------------------------------------------
>
> Key: KYLIN-5990
> URL: https://issues.apache.org/jira/browse/KYLIN-5990
> Project: Kylin
> Issue Type: Bug
> Affects Versions: 5.0.0
> Reporter: Guoliang Sun
> Priority: Major
> Fix For: 5.0.0
>
> Attachments: image-2025-02-18-16-22-15-903.png
>
>
> 1. Delete the built segment.
> 2. Go to the model index page and click on storage optimization.
> 3. Click submit, and an error is reported. The error log is as follows:
> !image-2025-02-18-16-22-15-903.png|width=703,height=500!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)