2025-07-17 20:46:17.313 INFO 30180 --- [sharding-metric-collect1,,] c.o.o.c.sharding.registry.ShardingTask : Mark consumer state, newState=PAUSE
2025-07-17 20:46:17.317 INFO 30180 --- [main,,] c.o.o.b.i.task.BackupOcpTaskManager : register backup schedules success
2025-07-17 20:46:17.423 WARN 30180 --- [main,,] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'analyzeController': Unsatisfied dependency expressed through method 'setLogQuerier' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'logQuerier' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Unsatisfied dependency expressed through method 'logQuerier' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHighLevelClient' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opensearch.client.RestHighLevelClient]: Factory method 'restHighLevelClient' threw exception; nested exception is java.lang.IllegalArgumentException: hosts must not be null nor empty
2025-07-17 20:46:17.433 INFO 30180 --- [main,,] c.o.ocp.monitor.OcpMonitorManager : monitor manager destroy...
2025-07-17 20:46:17.435 INFO 30180 --- [main,,] c.o.ocp.monitor.OcpMonitorManager : monitor manager destroyed
2025-07-17 20:46:17.464 INFO 30180 --- [main,,] s.i.c.SqlAuditRawStatRollupDaemonService : SQL stat rollup daemon stopped
2025-07-17 20:46:17.484 INFO 30180 --- [main,,] c.o.o.s.i.r.s.RateLimitFacadeServiceImpl : Destroy RateLimitFacadeService executor...
2025-07-17 20:46:17.484 INFO 30180 --- [main,,] c.o.o.s.i.r.s.RateLimitFacadeServiceImpl : RateLimitFacadeService executor destroyed
2025-07-17 20:46:17.552 INFO 30180 --- [main,,] c.o.o.alarm.utils.task.AlarmTaskManager : exited done
2025-07-17 20:46:17.564 INFO 30180 --- [main,,] c.o.ocp.core.sharding.ShardingFactory : Shutdown sharding factory, coordinatorSize=3, consumerSize=3
2025-07-17 20:46:20.565 WARN 30180 --- [main,,] c.oceanbase.ocp.core.util.ExecutorUtils : terminate failed, forcing shutdown...
2025-07-17 20:46:20.569 INFO 30180 --- [sharding-metric-collect1,,] c.o.o.c.sharding.registry.ShardingTask : Sharding failed.
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at com.oceanbase.ocp.core.sharding.registry.ShardingTask.sharding(ShardingTask.java:66)
at com.oceanbase.ocp.core.sharding.ShardingCoordinator.doSharding(ShardingCoordinator.java:114)
at com.oceanbase.ocp.core.sharding.ShardingCoordinator.sharding(ShardingCoordinator.java:84)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
2025-07-17 20:46:20.574 INFO 30180 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-07-17 20:46:20.578 INFO 30180 --- [main,,] com.zaxxer.hikari.HikariDataSource : monitor-connect-pool - Shutdown initiated...
2025-07-17 20:46:20.585 INFO 30180 --- [main,,] com.zaxxer.hikari.HikariDataSource : monitor-connect-pool - Shutdown completed.
2025-07-17 20:46:20.588 INFO 30180 --- [main,,] com.alibaba.druid.pool.DruidDataSource : {dataSource-0} closing ...
2025-07-17 20:46:20.594 INFO 30180 --- [main,,] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-07-17 20:46:20.595 INFO 30180 --- [main,,] com.zaxxer.hikari.HikariDataSource : metadb-connect-pool - Shutdown initiated...
2025-07-17 20:46:20.601 INFO 30180 --- [main,,] com.zaxxer.hikari.HikariDataSource : metadb-connect-pool - Shutdown completed.
2025-07-17 20:46:20.604 INFO 30180 --- [main,,] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2025-07-17 20:46:20.617 INFO 30180 --- [ocp-updater-0,,] c.o.o.c.d.event.DistributedEventManager : [OCP116802] DistributedEvent Receive on 03c6eb0446 exception Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: HikariDataSource HikariDataSource (metadb-connect-pool) has been closed.
2025-07-17 20:46:20.635 INFO 30180 --- [main,,] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-07-17 20:46:20.637 INFO 30180 --- [main,,] c.o.o.b.spring.BootstrapRunListener : failed
2025-07-17 20:46:20.755 WARN 30180 --- [main,,] c.o.o.s.c.analyzer.OcpFailureAnalyzer : OCP startup check failed with cause:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'analyzeController': Unsatisfied dependency expressed through method 'setLogQuerier' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'logQuerier' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Unsatisfied dependency expressed through method 'logQuerier' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHighLevelClient' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opensearch.client.RestHighLevelClient]: Factory method 'restHighLevelClient' threw exception; nested exception is java.lang.IllegalArgumentException: hosts must not be null nor empty
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:824)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:777)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:929)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:732)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:409)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1289)
at com.oceanbase.ocp.OcpCeServerApplication.main(OcpCeServerApplication.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:467)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'logQuerier' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Unsatisfied dependency expressed through method 'logQuerier' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHighLevelClient' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opensearch.client.RestHighLevelClient]: Factory method 'restHighLevelClient' threw exception; nested exception is java.lang.IllegalArgumentException: hosts must not be null nor empty
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:801)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:536)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:816)
... 28 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restHighLevelClient' defined in class path resource [com/oceanbase/ocp/analyze/configuration/AnalyzeConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opensearch.client.RestHighLevelClient]: Factory method 'restHighLevelClient' threw exception; nested exception is java.lang.IllegalArgumentException: hosts must not be null nor empty
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:481)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:788)
... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.opensearch.client.RestHighLevelClient]: Factory method 'restHighLevelClient' threw exception; nested exception is java.lang.IllegalArgumentException: hosts must not be null nor empty
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648)
... 55 common frames omitted
Caused by: java.lang.IllegalArgumentException: hosts must not be null nor empty
at org.opensearch.client.RestClient.builder(RestClient.java:220)
at com.oceanbase.ocp.analyze.internal.basic.es.ClientBuilder.buildRestHighLevelClient(ClientBuilder.java:47)
at com.oceanbase.ocp.analyze.configuration.AnalyzeConfiguration.restHighLevelClient(AnalyzeConfiguration.java:75)
at com.oceanbase.ocp.analyze.configuration.AnalyzeConfiguration$$EnhancerBySpringCGLIB$$34474c86.CGLIB$restHighLevelClient$5(<generated>)
at com.oceanbase.ocp.analyze.configuration.AnalyzeConfiguration$$EnhancerBySpringCGLIB$$34474c86$$FastClassBySpringCGLIB$$e505d928.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
at com.oceanbase.ocp.analyze.configuration.AnalyzeConfiguration$$EnhancerBySpringCGLIB$$34474c86.restHighLevelClient(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
... 56 common frames omitted
2025-07-17 20:46:20.759 ERROR 30180 --- [main,,] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
OCP application startup check failed.
Action:
Please check the stack trace above for the root cause.
```