Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

Cherry-picked from #56319

Related PR: #55498

Problem Summary:

When importing a file via S3 load, if the file does not exist on S3, the
load will report an error: label has already been used.

2025-09-22 23:00:57,177 WARN (pending-load-task-scheduler-pool-0|483)
[LoadTask.exec():110] LOAD_JOB=1758553246283, error_msg={Unexpected
failed to execute load task}
java.lang.IllegalStateException: null
at
com.google.common.base.Preconditions.checkState(Preconditions.java:499)
~[guava-33.2.1-jre.jar:?]
at
org.apache.doris.nereids.load.NereidsLoadingTaskPlanner.plan(NereidsLoadingTaskPlanner.java:146)
~[doris-fe.jar:1.2-SNAPSHOT]
at
org.apache.doris.load.loadv2.LoadLoadingTask.init(LoadLoadingTask.java:138)
~[doris-fe.jar:1.2-SNAPSHOT]
at
org.apache.doris.load.loadv2.BrokerLoadJob.createTask(BrokerLoadJob.java:274)
~[doris-fe.jar:1.2-SNAPSHOT]
at
org.apache.doris.load.loadv2.BrokerLoadJob.createLoadingTask(BrokerLoadJob.java:311)
~[doris-fe.jar:1.2-SNAPSHOT]
at
org.apache.doris.load.loadv2.BrokerLoadJob.onPendingTaskFinished(BrokerLoadJob.java:204)
~[doris-fe.jar:1.2-SNAPSHOT]
at
org.apache.doris.load.loadv2.BrokerLoadJob.onTaskFinished(BrokerLoadJob.java:163)
~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.load.loadv2.LoadTask.exec(LoadTask.java:102)
~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.task.MasterTask.run(MasterTask.java:31)
~[doris-fe.jar:1.2-SNAPSHOT]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
~[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Sep 24, 2025
@hello-stephen
Copy link
Contributor

run buildall

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage `` 🎉
Increment coverage report
Complete coverage report

@doris-robot
Copy link

ClickBench: Total hot run time: 30.29 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 0fcdd97cef0be7fd509661e4ef0f6316fcd0009e, data reload: false

query1	0.06	0.05	0.04
query2	0.08	0.05	0.05
query3	0.25	0.08	0.08
query4	1.60	0.12	0.13
query5	0.28	0.26	0.25
query6	1.17	0.65	0.66
query7	0.04	0.03	0.03
query8	0.05	0.04	0.04
query9	0.63	0.55	0.52
query10	0.58	0.58	0.60
query11	0.16	0.11	0.12
query12	0.15	0.12	0.13
query13	0.63	0.62	0.61
query14	1.02	1.05	1.02
query15	0.87	0.85	0.85
query16	0.42	0.40	0.42
query17	1.02	1.03	1.02
query18	0.21	0.21	0.20
query19	2.29	2.03	1.98
query20	0.02	0.02	0.01
query21	15.66	0.92	0.60
query22	0.75	1.14	0.63
query23	15.04	1.34	0.62
query24	6.95	1.92	0.62
query25	0.53	0.26	0.07
query26	0.54	0.16	0.13
query27	0.07	0.06	0.05
query28	10.01	1.37	0.94
query29	12.53	3.86	3.26
query30	0.27	0.14	0.11
query31	2.84	0.60	0.39
query32	3.23	0.56	0.49
query33	3.17	3.06	3.13
query34	16.10	5.53	4.85
query35	4.95	4.91	4.92
query36	0.68	0.53	0.51
query37	0.10	0.08	0.07
query38	0.07	0.05	0.04
query39	0.04	0.03	0.04
query40	0.19	0.16	0.14
query41	0.08	0.03	0.04
query42	0.04	0.03	0.03
query43	0.04	0.04	0.03
Total cold run time: 105.41 s
Total hot run time: 30.29 s

@yiguolei yiguolei closed this Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants