-
Choerodon平台版本: 0.23.5
-
遇到问题的执行步骤:
helm upgrade --install choerodon-platform c7n/choerodon-platform -f choerodon-platform.yaml --version 0.23.5 --namespace c7n-system -
文档地址:
https://choerodon.io/zh/docs/installation-configuration/steps/install/parts/choerodon/ -
环境信息(如:节点信息):
centos 8 4节点 -
报错日志:
2020-12-03 14:24:16.436 INFO 7 — [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [//favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-12-03 14:24:16.701 INFO 7 — [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead: startup date [Thu Dec 03 14:23:40 CST 2020]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@5257a069
2020-12-03 14:24:16.823 INFO 7 — [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-12-03 14:24:16.823 INFO 7 — [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2020-12-03 14:24:16.862 INFO 7 — [ main] .m.m.a.ExceptionHandlerExceptionResolver : Detected @ExceptionHandler methods in securityTokenExceptionHandler
2020-12-03 14:24:16.862 INFO 7 — [ main] .m.m.a.ExceptionHandlerExceptionResolver : Detected @ExceptionHandler methods in baseExceptionHandler
2020-12-03 14:24:16.993 WARN 7 — [ main] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2020-12-03 14:24:17.314 WARN 7 — [ main] o.s.s.o.p.t.s.JwtAccessTokenConverter : Unable to create an RSA verifier from verifierKey (ignoreable if using MAC)
2020-12-03 14:24:17.323 INFO 7 — [ main] org.hzero.core.HZeroAutoConfiguration : find hzero-starter-core path:file:/choerodon/choerodon-platform.jar!/BOOT-INF/lib/hzero-starter-core-1.4.0.RELEASE.jar!/
2020-12-03 14:24:17.323 INFO 7 — [ main] org.hzero.core.HZeroAutoConfiguration : hzero-starter-core.jar was found [path=file:/choerodon/choerodon-platform.jar!/BOOT-INF/lib/hzero-starter-core-1.4.0.RELEASE.jar!/]. metadata.VERSION = 1.4.0
2020-12-03 14:24:17.327 INFO 7 — [ sync-setter] i.c.c.c.ApplicationContextHelper : Async set field [setRedisHelper] in [org.hzero.core.message.RedisMessageSource] success by method.
2020-12-03 14:24:17.327 INFO 7 — [ sync-setter] i.c.c.c.ApplicationContextHelper : Async set field [setEnvironment] in [org.hzero.core.message.RedisMessageSource] success by method.
2020-12-03 14:24:17.328 INFO 7 — [ sync-setter] i.c.c.c.ApplicationContextHelper : Async set field [setEnvironment] in [org.hzero.core.message.RedisMessageSource] success by method.
2020-12-03 14:24:17.873 INFO 7 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService ‘auditAsyncTaskExecutor’
2020-12-03 14:24:18.013 INFO 7 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService ‘entityRegistAsyncTaskExecutor’
2020-12-03 14:24:18.246 WARN 7 — [ main] o.h.c.c.api.impl.CompositeConfigClient : no config client, config management does not take effect!
2020-12-03 14:24:18.458 WARN 7 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘asyncExportDataHelper’ defined in class path resource [org/hzero/export/ExportAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.hzero.export.ExportDataHelper]: Factory method ‘asyncExportDataHelper’ threw exception; nested exception is java.lang.IllegalArgumentException
2020-12-03 14:24:18.458 INFO 7 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService ‘entityRegistAsyncTaskExecutor’
2020-12-03 14:24:18.460 INFO 7 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService ‘auditAsyncTaskExecutor’
2020-12-03 14:24:18.467 INFO 7 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService ‘websocket-check-executor’
2020-12-03 14:24:18.473 INFO 7 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService ‘import-executor’
2020-12-03 14:24:18.515 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-choerodon-iam: startup date [Thu Dec 03 14:24:03 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:18.516 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-choerodon-platform: startup date [Thu Dec 03 14:23:55 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:18.517 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-hzero-import: startup date [Thu Dec 03 14:24:06 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:18.517 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-choerodon-file: startup date [Thu Dec 03 14:24:06 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:18.517 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-choerodon-oauth: startup date [Thu Dec 03 14:24:03 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:18.518 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-hzero-scheduler: startup date [Thu Dec 03 14:24:07 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:18.518 INFO 7 — [ main] s.c.a.AnnotationConfigApplicationContext : Closing FeignContext-choerodon-message: startup date [Thu Dec 03 14:24:11 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4e017ead
2020-12-03 14:24:19.672 INFO 7 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated…
2020-12-03 14:24:19.677 INFO 7 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. -
原因分析:
提出您分析问题的过程,以便我们能更准确的找到问题所在
-
疑问:
提出您对于遇到和解决该问题时的疑问
asyncExportDataHelper 这个方法代码里没找到,看不出来是什么问题
看看服务器的配置:
cat /proc/cpuinfo| grep “physical id”| sort| uniq| wc -l
命令发错了 是这个命令 :cat /proc/cpuinfo |grep ‘processor’|sort -u|wc -l