xiaoDjun opened a new pull request, #14648:
URL: https://github.com/apache/doris/pull/14648

   # Proposed changes
   
   Issue Number: close #14599
   
   ## Problem summary
   
   When using sparkload to import data into temporary partitions, the etl job 
failed.
   And the log showed no temp partitionInfo was found from the 
OlapTable#tempPartitions.
   
   Here are the stack trace in fe.log
   
   ```
   2022-11-17 16:17:57,421 WARN (Load etl checker|33) 
[LoadManager.lambda$processEtlStateJobs$6():452] update load job etl status 
failed. job id: 11881811
   org.apache.doris.common.LoadException: errCode = 2, detailMessage = 
LOAD_JOB=11881811, database_id={9350049}, 
label={label_doris_test_dayliy_1117_4}, error_msg={all partitions have no load 
data}
           at 
org.apache.doris.load.loadv2.SparkLoadJob.submitPushTasks(SparkLoadJob.java:550)
 ~[doris-fe.jar:1.0-SNAPSHOT]
           at 
org.apache.doris.load.loadv2.SparkLoadJob.updateEtlStatus(SparkLoadJob.java:320)
 ~[doris-fe.jar:1.0-SNAPSHOT]
           at 
org.apache.doris.load.loadv2.LoadManager.lambda$processEtlStateJobs$6(LoadManager.java:446)
 ~[doris-fe.jar:1.0-SNAPSHOT]
           at 
java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) 
~[?:1.8.0_172]
           at 
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) 
~[?:1.8.0_172]
           at 
java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3566)
 ~[?:1.8.0_172]
           at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) 
~[?:1.8.0_172]
           at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) 
~[?:1.8.0_172]
           at 
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) 
~[?:1.8.0_172]
           at 
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
 ~[?:1.8.0_172]
           at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 
~[?:1.8.0_172]
           at 
java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) 
~[?:1.8.0_172]
           at 
org.apache.doris.load.loadv2.LoadManager.processEtlStateJobs(LoadManager.java:444)
 ~[doris-fe.jar:1.0-SNAPSHOT]
           at 
org.apache.doris.load.loadv2.LoadEtlChecker.runAfterCatalogReady(LoadEtlChecker.java:42)
 ~[doris-fe.jar:1.0-SNAPSHOT]
           at 
org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) 
~[doris-fe.jar:1.0-SNAPSHOT]
           at org.apache.doris.common.util.Daemon.run(Daemon.java:116) 
~[doris-fe.jar:1.0-SNAPSHOT]
   ```
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [ ] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [ ] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [ ] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to