DSS&Linkis一键部署创建工作流时ps-cs微服务报错:Null routeLabel got for instance #1025
Unanswered
yang-xinqun
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2023-02-01 13:23:41.438 [ERROR] [DefaultScheduler-ThreadPool-54 ] o.a.l.i.l.c.InstanceLabelClient (107) [apply] - java.lang.NullPointerException: null
at scala.collection.convert.Wrappers$JListWrapper.iterator(Wrappers.scala:88) ~[scala-library-2.11.12.jar:?]
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) ~[scala-library-2.11.12.jar:?]
at scala.collection.AbstractIterable.foreach(Iterable.scala:54) ~[scala-library-2.11.12.jar:?]
at org.apache.linkis.instance.label.client.InstanceLabelClient$$anonfun$getLabelFromInstance$1.apply(InstanceLabelClient.scala:57) ~[linkis-instance-label-client-1.1.1.jar:1.1.1]
at org.apache.linkis.instance.label.client.InstanceLabelClient$$anonfun$getLabelFromInstance$1.apply(InstanceLabelClient.scala:54) ~[linkis-instance-label-client-1.1.1.jar:1.1.1]
at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:40) ~[linkis-common-1.1.1.jar:1.1.1]
at org.apache.linkis.common.utils.Utils$.tryAndError(Utils.scala:97) ~[linkis-common-1.1.1.jar:1.1.1]
at org.apache.linkis.instance.label.client.InstanceLabelClient.getLabelFromInstance(InstanceLabelClient.scala:53) ~[linkis-instance-label-client-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.RouteLabelInstanceAliasConverter$$anonfun$instanceToAlias$1.apply$mcV$sp(RouteLabelInstanceAliasConverter.scala:73) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.RouteLabelInstanceAliasConverter$$anonfun$instanceToAlias$1.apply(RouteLabelInstanceAliasConverter.scala:73) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.RouteLabelInstanceAliasConverter$$anonfun$instanceToAlias$1.apply(RouteLabelInstanceAliasConverter.scala:73) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:40) ~[linkis-common-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.RouteLabelInstanceAliasConverter.instanceToAlias(RouteLabelInstanceAliasConverter.scala:74) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.InstanceAliasManagerImpl.getAliasByServiceInstance(InstanceAliasManagerImpl.scala:98) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.impl.BackupInstanceGeneratorImpl.chooseBackupInstance(BackupInstanceGeneratorImpl.java:83) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.impl.ContextHAIDGeneratorImpl.generateHAContextID(ContextHAIDGeneratorImpl.java:64) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.DefaultContextHAManager.convertProxyHAID(DefaultContextHAManager.java:71) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.proxy.MethodInterceptorImpl.convertContextIDBeforeInvoke(MethodInterceptorImpl.java:187) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.proxy.MethodInterceptorImpl.intercept(MethodInterceptorImpl.java:71) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.persistence.persistence.impl.ContextIDPersistenceImpl$$EnhancerByCGLIB$$6dac4b23.createContextID() ~[cglib-2.2.2.jar:1.1.1]
at org.apache.linkis.cs.server.service.impl.ContextIDServiceImpl.createContextID(ContextIDServiceImpl.java:51) ~[linkis-cs-server-1.1.1.jar:1.1.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_341]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_341]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_341]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_341]
at org.apache.linkis.cs.server.service.AbstractService.accept(AbstractService.java:64) ~[linkis-cs-server-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.server.scheduler.impl.CsExecutor.execute(CsExecutor.scala:36) ~[linkis-cs-server-1.1.1.jar:1.1.1]
at org.apache.linkis.scheduler.queue.Job$$anonfun$3.apply(Job.scala:266) ~[linkis-scheduler-1.1.1.jar:1.1.1]
at org.apache.linkis.scheduler.queue.Job$$anonfun$3.apply(Job.scala:266) ~[linkis-scheduler-1.1.1.jar:1.1.1]
at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:40) ~[linkis-common-1.1.1.jar:1.1.1]
at org.apache.linkis.scheduler.queue.Job.run(Job.scala:266) ~[linkis-scheduler-1.1.1.jar:1.1.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_341]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_341]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_341]
2023-02-01 13:23:41.439 [ERROR] [DefaultScheduler-ThreadPool-54 ] o.a.l.c.h.h.i.i.RouteLabelInstanceAliasConverter (62) [error] - Null routeLabel got for instance : 192.168.16.142:9108
2023-02-01 13:23:41.440 [ERROR] [DefaultScheduler-ThreadPool-54 ] o.a.l.c.s.s.i.ContextIDServiceImpl (73) [accept] - execute CONTEXT_ID service failed: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_341]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_341]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_341]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_341]
at org.apache.linkis.cs.server.service.AbstractService.accept(AbstractService.java:64) ~[linkis-cs-server-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.server.scheduler.impl.CsExecutor.execute(CsExecutor.scala:36) ~[linkis-cs-server-1.1.1.jar:1.1.1]
at org.apache.linkis.scheduler.queue.Job$$anonfun$3.apply(Job.scala:266) ~[linkis-scheduler-1.1.1.jar:1.1.1]
at org.apache.linkis.scheduler.queue.Job$$anonfun$3.apply(Job.scala:266) ~[linkis-scheduler-1.1.1.jar:1.1.1]
at org.apache.linkis.common.utils.Utils$.tryCatch(Utils.scala:40) ~[linkis-common-1.1.1.jar:1.1.1]
at org.apache.linkis.scheduler.queue.Job.run(Job.scala:266) ~[linkis-scheduler-1.1.1.jar:1.1.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_341]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_341]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_341]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_341]
at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_341]
Caused by: org.apache.linkis.cs.common.exception.CSErrorException: errCode: 70010 ,desc: Null routeLabel got for instance : 192.168.16.142:9108 ,ip: localhost ,port: 9108 ,serviceKind: linkis-ps-cs
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.RouteLabelInstanceAliasConverter.instanceToAlias(RouteLabelInstanceAliasConverter.scala:97) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.instancealias.impl.InstanceAliasManagerImpl.getAliasByServiceInstance(InstanceAliasManagerImpl.scala:98) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.impl.BackupInstanceGeneratorImpl.chooseBackupInstance(BackupInstanceGeneratorImpl.java:83) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.ha.impl.ContextHAIDGeneratorImpl.generateHAContextID(ContextHAIDGeneratorImpl.java:64) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.DefaultContextHAManager.convertProxyHAID(DefaultContextHAManager.java:71) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.proxy.MethodInterceptorImpl.convertContextIDBeforeInvoke(MethodInterceptorImpl.java:187) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.highavailable.proxy.MethodInterceptorImpl.intercept(MethodInterceptorImpl.java:71) ~[linkis-cs-highavailable-1.1.1.jar:1.1.1]
at org.apache.linkis.cs.persistence.persistence.impl.ContextIDPersistenceImpl$$EnhancerByCGLIB$$6dac4b23.createContextID() ~[cglib-2.2.2.jar:1.1.1]
at org.apache.linkis.cs.server.service.impl.ContextIDServiceImpl.createContextID(ContextIDServiceImpl.java:51) ~[linkis-cs-server-1.1.1.jar:1.1.1]
... 15 more
Beta Was this translation helpful? Give feedback.
All reactions