WeBankFinTech / DataSphereStudio

DataSphereStudio is a one stop data application development& management portal, covering scenarios including data exchange, desensitization/cleansing, analysis/mining, quality measurement, visualization, and task scheduling.
https://github.com/WeBankFinTech/DataSphereStudio-Doc
Apache License 2.0
3.05k stars 999 forks source link

Linkis启动失败 #1023

Open jane-xp opened 1 year ago

jane-xp commented 1 year ago

Search before asking

DSS Component

dss-standard

What happened + What you expected to happen

启动linkis cg-engineconnmanager 微服务的时候,注册上eureka,但是很快又失败了

Relevent platform

centos 7

Reproduction script

2023-01-19 11:24:11.124 [INFO ] [main ] o.a.l.LinkisBaseServerApp (50) [main] - Ready to start linkis-cg-engineconnmanager with args: --spring.profiles.active=linkis --spring.mvc.servlet.path=/api/rest_j/v1 --spring.servlet.multipart.max-file-size=500MB --spring.servlet.multipart.file-size-threshold=50MB --spring.servlet.multipart.max-request-size=500MB --server.port=9102 --application.name=linkis-cg-engineconnmanager. 2023-01-19 11:24:12.537 [INFO ] [main ] o.s.c.c.c.ConfigServicePropertySourceLocator (256) [getRemoteEnvironment] - Fetching config from server at : http://localhost:8888 2023-01-19 11:24:12.741 [INFO ] [main ] o.s.c.c.c.ConfigServicePropertySourceLocator (280) [getRemoteEnvironment] - Connect Timeout Exception on Url - http://localhost:8888. Will be trying the next url if available 2023-01-19 11:24:12.741 [WARN ] [main ] o.s.c.c.c.ConfigServicePropertySourceLocator (160) [locate] - Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/linkis-cg-engineconnmanager/linkis": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) 2023-01-19 11:24:12.744 [INFO ] [main ] o.a.l.DataWorkCloudApplication (652) [logStartupProfileInfo] - The following profiles are active: linkis 2023-01-19 11:24:12.769 [INFO ] [main ] o.a.l.DataWorkCloudApplication (95) [onApplicationEvent] - add config from config server... 2023-01-19 11:24:12.769 [INFO ] [main ] o.a.l.DataWorkCloudApplication (100) [onApplicationEvent] - initialize DataWorkCloud spring application... 2023-01-19 11:24:13.828 [WARN ] [main ] o.s.b.a.e.EndpointId (155) [logWarning] - Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format. 2023-01-19 11:24:14.008 [INFO ] [main ] o.s.c.c.s.GenericScope (295) [setSerializationId] - BeanFactory id=e8d89632-d5b3-3a55-a6c5-ed85d2353220 2023-01-19 11:24:14.622 [INFO ] [main ] o.s.b.w.e.j.JettyServletWebServerFactory (147) [getWebServer] - Server initialized with port: 9102 2023-01-19 11:24:14.723 [INFO ] [main ] o.s.b.w.s.c.ServletWebServerApplicationContext (285) [prepareWebApplicationContext] - Root WebApplicationContext: initialization completed in 1953 ms 2023-01-19 11:24:15.574 [INFO ] [main ] o.s.c.n.e.c.DiscoveryClientOptionalArgsConfiguration (78) [discoveryClientOptionalArgs] - Eureka HTTP Client uses Jersey 2023-01-19 11:24:15.613 [INFO ] [main ] o.s.c.n.e.InstanceInfoFactory (72) [create] - Setting initial instance status as: STARTING 2023-01-19 11:24:17.239 [INFO ] [main ] o.s.s.c.ThreadPoolTaskExecutor (181) [initialize] - Initializing ExecutorService 'applicationTaskExecutor' 2023-01-19 11:24:17.604 [WARN ] [main ] o.s.c.l.c.BlockingLoadBalancerClientAutoConfiguration$BlockingLoadBalancerClientRibbonWarnLogger (106) [logWarning] - You already have RibbonLoadBalancerClient on your classpath. It will be used by default. As Spring Cloud Ribbon is in maintenance mode. We recommend switching to BlockingLoadBalancerClient instead. In order to use it, set the value of spring.cloud.loadbalancer.ribbon.enabled to false or remove spring-cloud-starter-netflix-ribbon from your project. 2023-01-19 11:24:17.694 [INFO ] [main ] o.s.b.a.e.w.EndpointLinksResolver (58) [] - Exposing 2 endpoint(s) beneath base path '/actuator' 2023-01-19 11:24:17.745 [INFO ] [main ] o.s.c.n.e.s.EurekaServiceRegistry (41) [register] - Registering application LINKIS-CG-ENGINECONNMANAGER with eureka with status UP 2023-01-19 11:24:17.786 [INFO ] [main ] o.s.w.s.DispatcherServlet (525) [initServletBean] - Initializing Servlet 'dispatcherServlet' 2023-01-19 11:24:17.801 [INFO ] [main ] o.s.w.s.DispatcherServlet (547) [initServletBean] - Completed initialization in 15 ms 2023-01-19 11:24:17.804 [INFO ] [main ] o.s.w.s.DispatcherServlet (525) [initServletBean] - Initializing Servlet 'springrestful' 2023-01-19 11:24:17.821 [INFO ] [main ] o.s.w.s.DispatcherServlet (547) [initServletBean] - Completed initialization in 16 ms 2023-01-19 11:24:17.901 [INFO ] [main ] o.s.b.w.e.j.JettyWebServer (185) [start] - Jetty started on port(s) 9102 (http/1.1) with context path '/' 2023-01-19 11:24:17.903 [INFO ] [main ] o.s.c.n.e.s.EurekaAutoServiceRegistration (145) [onApplicationEvent] - Updating port to 9102 2023-01-19 11:24:17.908 [INFO ] [main ] o.a.l.DataWorkCloudApplication (95) [onApplicationEvent] - add config from config server... 2023-01-19 11:24:17.909 [INFO ] [main ] o.a.l.DataWorkCloudApplication (100) [onApplicationEvent] - initialize DataWorkCloud spring application... 2023-01-19 11:24:17.923 [INFO ] [main ] o.a.l.DataWorkCloudApplication (61) [logStarted] - Started DataWorkCloudApplication in 6.625 seconds (JVM running for 8.519) 2023-01-19 11:24:25.133 [INFO ] [SpringContextShutdownHook ] o.s.c.n.e.s.EurekaServiceRegistry (65) [deregister] - Unregistering application LINKIS-CG-ENGINECONNMANAGER with eureka with status DOWN 2023-01-19 11:24:25.445 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (113) [onApplicationClosed] - wait ECM:ServiceInstance(linkis-cg-engineconnmanager, ipro-ismart-e:9102) asyncBus empty 2023-01-19 11:24:25.450 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (119) [onApplicationClosed] - ECM asyncBus is empty 2023-01-19 11:24:25.455 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (121) [onApplicationClosed] - ECM is closed 2023-01-19 11:24:25.607 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (113) [onApplicationClosed] - wait ECM:ServiceInstance(linkis-cg-engineconnmanager, ipro-ismart-e:9102) asyncBus empty 2023-01-19 11:24:25.608 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (119) [onApplicationClosed] - ECM asyncBus is empty 2023-01-19 11:24:25.608 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (121) [onApplicationClosed] - ECM is closed 2023-01-19 11:24:25.634 [INFO ] [SpringContextShutdownHook ] o.s.s.c.ThreadPoolTaskExecutor (218) [shutdown] - Shutting down ExecutorService 'applicationTaskExecutor' 2023-01-19 11:24:25.689 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (113) [onApplicationClosed] - wait ECM:ServiceInstance(linkis-cg-engineconnmanager, ipro-ismart-e:9102) asyncBus empty 2023-01-19 11:24:25.689 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (119) [onApplicationClosed] - ECM asyncBus is empty 2023-01-19 11:24:25.689 [INFO ] [SpringContextShutdownHook ] o.a.l.e.s.ECMApplicationListener$$EnhancerBySpringCGLIB$$395989df (121) [onApplicationClosed] - ECM is closed linkis-cg-engineconnmanager.log

Anything else

No response

Are you willing to submit a PR?