wubolive / dss-linkis-ansible

DSS1.1.1 & Linkis 1.3.0 Ansible 单机一键部署脚本
40 stars 16 forks source link

[fix]linkis-cg-engineplugin微服务启动失败-#9 #10

Closed stdnt-xiao closed 1 year ago

stdnt-xiao commented 1 year ago

修复,因jvm内存配置不足导致的linkis微服务启动失败

stdnt-xiao commented 1 year ago

2023-03-19 17:05:13.050 [ERROR] [Linkis-Default-Scheduler-Thread-1 ] o.a.l.e.s.s.DefaultEngineConnResourceService (117) [apply] - Failed to upload engine conn to bml, now exit! org.apache.linkis.httpclient.exception.HttpClientResultException: errCode: 10905 ,desc: URL /api/rest_j/v1/bml/upload request failed! ResponseBody is {"timestamp":1679216712827,"status":500,"error":"Internal Server Error","message":"","path":"/api/rest_j/v1/bml/upload"}. errCode: 10905 ,desc: URL /api/rest_j/v1/bml/upload request failed! ResponseBody is {"timestamp":1679216712827,"status":500,"error":"Internal Server Error","message":"","path":"/api/rest_j/v1/bml/upload"}. ,ip: dss-service ,port: 9103 ,serviceKind: linkis-cg-engineplugin ,ip: dss-service ,port: 9103 ,serviceKind: linkis-cg-engineplugin at org.apache.linkis.httpclient.dws.response.DWSResult$$anonfun$set$2.apply(DWSResult.scala:85) ~[linkis-gateway-httpclient-support-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.dws.response.DWSResult$$anonfun$set$2.apply(DWSResult.scala:84) ~[linkis-gateway-httpclient-support-1.3.0.jar:1.3.0] at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:61) ~[linkis-common-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.dws.response.DWSResult$class.set(DWSResult.scala:84) ~[linkis-gateway-httpclient-support-1.3.0.jar:1.3.0] at org.apache.linkis.bml.response.BmlResult.set(BmlResult.scala:26) ~[linkis-bml-client-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.dws.DWSHttpClient$$anonfun$httpResponseToResult$1.apply(DWSHttpClient.scala:83) ~[linkis-gateway-httpclient-support-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.dws.DWSHttpClient$$anonfun$httpResponseToResult$1.apply(DWSHttpClient.scala:79) ~[linkis-gateway-httpclient-support-1.3.0.jar:1.3.0] at scala.Option.map(Option.scala:146) ~[scala-library-2.11.12.jar:?] at org.apache.linkis.httpclient.dws.DWSHttpClient.httpResponseToResult(DWSHttpClient.scala:79) ~[linkis-gateway-httpclient-support-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.AbstractHttpClient.responseToResult(AbstractHttpClient.scala:522) ~[linkis-httpclient-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.AbstractHttpClient.execute(AbstractHttpClient.scala:168) ~[linkis-httpclient-1.3.0.jar:1.3.0] at org.apache.linkis.httpclient.AbstractHttpClient.execute(AbstractHttpClient.scala:125) ~[linkis-httpclient-1.3.0.jar:1.3.0] at org.apache.linkis.bml.client.impl.HttpBmlClient.uploadResource(HttpBmlClient.scala:399) ~[linkis-bml-client-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService.org$apache$linkis$engineplugin$server$service$DefaultEngineConnResourceService$$uploadToBml(DefaultEngineConnResourceService.scala:69) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anonfun$org$apache$linkis$engineplugin$server$service$DefaultEngineConnResourceService$$refresh$2.apply(DefaultEngineConnResourceService.scala:186) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anonfun$org$apache$linkis$engineplugin$server$service$DefaultEngineConnResourceService$$refresh$2.apply(DefaultEngineConnResourceService.scala:180) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) ~[scala-library-2.11.12.jar:?] at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) ~[scala-library-2.11.12.jar:?] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService.org$apache$linkis$engineplugin$server$service$DefaultEngineConnResourceService$$refresh(DefaultEngineConnResourceService.scala:180) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1.apply(DefaultEngineConnResourceService.scala:111) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1$$anonfun$apply$1$$anonfun$apply$mcV$sp$1.apply(DefaultEngineConnResourceService.scala:108) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at scala.collection.immutable.Map$Map1.foreach(Map.scala:116) ~[scala-library-2.11.12.jar:?] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply$mcV$sp(DefaultEngineConnResourceService.scala:108) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply(DefaultEngineConnResourceService.scala:106) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1$$anonfun$apply$1.apply(DefaultEngineConnResourceService.scala:106) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:47) ~[linkis-common-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1.apply(DefaultEngineConnResourceService.scala:113) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1$$anonfun$run$1.apply(DefaultEngineConnResourceService.scala:105) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) ~[scala-library-2.11.12.jar:?] at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) ~[scala-library-2.11.12.jar:?] at org.apache.linkis.engineplugin.server.service.DefaultEngineConnResourceService$$anon$1.run(DefaultEngineConnResourceService.scala:104) ~[linkis-engineconn-plugin-server-1.3.0.jar:1.3.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_171] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_171] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_171] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_171] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_171]

2023-03-19 17:05:13.054 [INFO ] [SpringContextShutdownHook ] o.s.c.n.e.s.EurekaServiceRegistry (65) [deregister] - Unregistering application LINKIS-CG-ENGINEPLUGIN with eureka with status DOWN