liangcw1111 opened a new issue, #6973:
URL: https://github.com/apache/seatunnel/issues/6973

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   集群由3台服务器组成, seatunnel.engine.slot-service.slot-num=6,集群共18个slot资源. 
当slot已占用6个时,并行提交两个需要6个slot的任务,此时可能导致并行提交的任务部分失败(非必现,概率中等)或全部失败(概率较小),日志记录apply 
resource not success, release all already applied resource
   初步分析可能是并行提交时, 先查询并预分配了slot应分配的服务器, 但是在实际分配时,该服务器的slot可能已被其它并行任务全部占用,导致实际分配失败.
   
   ### SeaTunnel Version
   
   2.3.5
   
   ### SeaTunnel Config
   
   ```conf
   seatunnel:
     engine:
       classloader-cache-mode: true
       backup-count: 1
       print-execution-info-interval: 120
       print-job-metrics-info-interval: 10
       queue-type: blockingqueue
       slot-service:
         dynamic-slot: false
         slot-num: 6
       checkpoint:
         interval: 30000
         timeout: 21474836460
         max-concurrent: 10
         tolerable-failure: 2
   ```
   
   
   ### Running Command
   
   ```shell
   
-Dseatunnel.config=/alidata1/za-seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/seatunnel.yaml
 
-Dhazelcast.config=/alidata1/za-seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/hazelcast.yaml
 
-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
 
-Dlog4j2.configurationFile=/alidata1/za-seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/config/log4j2.properties
 
-Dseatunnel.logs.path=/alidata1/za-seatunnel/apache-seatunnel-2.3.5-SNAPSHOT/logs
 -Dseatunnel.logs.file_name=seatunnel-engine-server -Xms3g -Xmx3g 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-server -XX:MaxMetaspaceSize=1g 
-XX:+UseG1GC -XX:+PrintGCDetails -Xloggc:/alidata1/za-seatunnel/logs/gc.log 
-XX:+PrintGCDateStamps -XX:MaxGCPauseMillis=5000 
-XX:InitiatingHeapOccupancyPercent=50 -XX:+UseStringDeduplication 
-XX:GCTimeRatio=4 -XX:G1ReservePercent=15 -XX:ConcGCThreads=2 
-XX:G1HeapRegionSize=4M
   ```
   
   
   ### Error Exception
   
   ```log
   apply resource not success, release all already applied resource
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to