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

   ### 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
   
   The master node shutdown because memory exceed the limit.
   Another node starting the mastership claim process, and become the master 
node.
   When this node `initCoordinatorService`, it very slow, can't restart the 
cluster.
   **Here are some new master log screenshots**
   
   
![image](https://github.com/apache/seatunnel/assets/28497357/8d9637b9-fb84-42e2-bb94-a1b1ccc694c5)
   
   
   <img width="1643" alt="image" 
src="https://github.com/apache/seatunnel/assets/28497357/6f2fc6ad-77dc-45d5-a2d4-dcd5dc494a92";>
   
   <img width="1522" alt="image" 
src="https://github.com/apache/seatunnel/assets/28497357/9d5ffce0-072d-4c18-a284-99282a1ff073";>
   
   
   
   
   ** Here is the old master node log screenshots**
   <img width="1637" alt="image" 
src="https://github.com/apache/seatunnel/assets/28497357/f0c77d78-7369-490d-a775-33b1ec853d17";>
   
   
   
   And i check the code, when a node became to master, it will call 
`initCoordinatorService` method.
   <img width="1106" alt="image" 
src="https://github.com/apache/seatunnel/assets/28497357/b2d07633-4b83-4781-b51a-9199dc82dc99";>
   in this method, it will
   1. get IMAP
   2. create JobHistoryService
   3. re-submit running jobs
   
   In the log, i can't see the log about `begin restore job (%s) from master 
active switch`
   and the `2` create JobHistoryService doesn't have any operations
   
   So i think is `get IMAP` fail, slow. 
   
   
   
   
   
   
   
   
   
   
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   na
   ```
   
   
   ### Running Command
   
   ```shell
   na
   ```
   
   
   ### Error Exception
   
   ```log
   na
   ```
   
   
   ### 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