lichaohao opened a new issue, #4223:
URL: https://github.com/apache/amoro/issues/4223

   ### What happened?
   
   
   amoro版本:  基于master分支编译
   
   ams使用spark 外部优化器,重启过ams后,突然报错,导致ams一直启动失败。
   
   
   
   报错日志:
   
   2026-05-18 09:01:57,334 INFO [main] 
[org.apache.amoro.server.manager.AbstractPluginManager] [] - initializing 
plugin configuration for: process-factories
   2026-05-18 09:01:57,345 INFO [main] 
[org.apache.amoro.server.manager.AbstractPluginManager] [] - initializing 
plugin configuration for: execute-engines
   2026-05-18 09:01:57,350 INFO [main] 
[org.apache.amoro.process.LocalExecutionEngine] [] - Initialize local execute 
pool:snapshots-expiring with size:10
   2026-05-18 09:01:57,377 INFO [main] 
[org.apache.amoro.server.AmoroServiceContainer] [] - Setting up AMS table 
executors...
   2026-05-18 09:01:57,779 INFO [main] 
[org.apache.amoro.server.DefaultOptimizingService] [] - 
OptimizerManagementService begin initializing
   2026-05-18 09:01:57,803 INFO [main] 
[org.apache.amoro.server.optimizing.SchedulingPolicy] [] - Loaded scheduling 
policy quota and its corresponding sorter instance 
org.apache.amoro.server.optimizing.sorter.QuotaOccupySorter
   2026-05-18 09:01:57,804 INFO [main] 
[org.apache.amoro.server.optimizing.SchedulingPolicy] [] - Loaded scheduling 
policy balanced and its corresponding sorter instance 
org.apache.amoro.server.optimizing.sorter.BalancedSorter
   2026-05-18 09:02:00,821 INFO [main] 
[org.apache.amoro.server.DefaultOptimizingService] [] - SuspendingDetector for 
Optimizer has been started.
   2026-05-18 09:02:00,822 INFO [main] 
[org.apache.amoro.server.DefaultOptimizingService] [] - 
OptimizerManagementService initializing has completed
   2026-05-18 09:02:00,822 INFO [main] 
[org.apache.amoro.server.process.ProcessService] [] - Initializing process 
service
   2026-05-18 09:02:00,845 ERROR [main] 
[org.apache.amoro.server.AmoroServiceContainer] [] - AMS start error
   java.lang.IllegalStateException: Failed to recover table process for format 
ICEBERG, action org.apache.amoro.Action@86552c00, table 
iceberg_catalog.ods.xxxxx(tableId=10)
        at 
org.apache.amoro.server.table.DefaultActionCoordinator.recoverTableProcess(DefaultActionCoordinator.java:118)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.process.ActionCoordinatorScheduler.recover(ActionCoordinatorScheduler.java:112)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.process.ProcessService.lambda$recoverProcesses$4(ProcessService.java:166)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_372]
        at 
org.apache.amoro.server.process.ProcessService.recoverProcesses(ProcessService.java:153)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.process.ProcessService.initialize(ProcessService.java:137)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.process.ProcessService.access$300(ProcessService.java:58)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.process.ProcessService$ProcessRuntimeHandler.initHandler(ProcessService.java:510)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.table.RuntimeHandlerChain.initialize(RuntimeHandlerChain.java:60)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.table.RuntimeHandlerChain.initialize(RuntimeHandlerChain.java:63)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.table.DefaultTableService.initialize(DefaultTableService.java:282)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.AmoroServiceContainer.startOptimizingService(AmoroServiceContainer.java:301)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.AmoroServiceContainer.transitionToLeader(AmoroServiceContainer.java:228)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.AmoroServiceContainer.main(AmoroServiceContainer.java:159)
 [amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
   Caused by: org.apache.amoro.process.RecoverProcessFailedException: 
Unsupported action for IcebergProcessFactory: org.apache.amoro.Action@86552c00
        at 
org.apache.amoro.server.process.iceberg.IcebergProcessFactory.recover(IcebergProcessFactory.java:102)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        at 
org.apache.amoro.server.table.DefaultActionCoordinator.recoverTableProcess(DefaultActionCoordinator.java:115)
 ~[amoro-ams-0.9-SNAPSHOT.jar:0.9-SNAPSHOT]
        ... 13 more
   
   ### Affects Versions
   
   master/0.9.0
   
   ### What table formats are you seeing the problem on?
   
   _No response_
   
   ### What engines are you seeing the problem on?
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Relevant log output
   
   ```shell
   
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's Code of 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