Dispatch Task: position_line failed #15808
Unanswered
lxjxiaojun
asked this question in
Q&A
Replies: 1 comment
-
The version is 3.2.1, btw. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed a standalone-server, run several test jobs and work fine. But suddenly all the jobs can't run any more and it shows 任务实例host为空。And after I restart server, everything works again.
Here is the log:
[ERROR] 2024-04-08 11:58:19.123 +0800 o.a.d.s.m.r.GlobalTaskDispatchWaitingQueueLooper:[86] - Dispatch Task: position_line failed
org.apache.dolphinscheduler.server.master.exception.TaskDispatchException: Dispatch task to 192.168.161.100:1234 failed
at org.apache.dolphinscheduler.server.master.runner.dispatcher.WorkerTaskDispatcher.doDispatch(WorkerTaskDispatcher.java:70)
at org.apache.dolphinscheduler.server.master.runner.BaseTaskDispatcher.dispatchTask(BaseTaskDispatcher.java:64)
at org.apache.dolphinscheduler.server.master.runner.GlobalTaskDispatchWaitingQueueLooper.run(GlobalTaskDispatchWaitingQueueLooper.java:78)
Caused by: org.apache.dolphinscheduler.extract.base.exception.MethodInvocationException: null
at org.apache.dolphinscheduler.extract.base.exception.MethodInvocationException.of(MethodInvocationException.java:27)
at org.apache.dolphinscheduler.extract.base.client.SyncClientMethodInvoker.invoke(SyncClientMethodInvoker.java:48)
at org.apache.dolphinscheduler.extract.base.client.ClientInvocationHandler.invoke(ClientInvocationHandler.java:55)
at com.sun.proxy.$Proxy858.dispatchTask(Unknown Source)
at org.apache.dolphinscheduler.server.master.runner.dispatcher.WorkerTaskDispatcher.doDispatch(WorkerTaskDispatcher.java:62)
... 2 common frames omitted
[ERROR] 2024-04-08 11:58:19.124 +0800 o.a.d.e.b.s.JsonSerializer:[77] - serializeToString exception!
com.fasterxml.jackson.databind.JsonMappingException: Null key for a Map not allowed in JSON (use a converting NullKeySerializer?) (through reference chain: org.apache.dolphinscheduler.extract.worker.transportor.TaskInstanceDispatchRequest["taskExecutionContext"]->org.apache.dolphinscheduler.plugin.task.api.TaskExecutionContext["prepareParamsMap"]->java.util.HashMap["null"])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:283)
at com.fasterxml.jackson.databind.SerializerProvider.mappingException(SerializerProvider.java:1358)
at com.fasterxml.jackson.databind.SerializerProvider.reportMappingProblem(SerializerProvider.java:1254)
at com.fasterxml.jackson.databind.ser.impl.FailingSerializer.serialize(FailingSerializer.java:32)
at com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeFields(MapSerializer.java:791)
at com.fasterxml.jackson.databind.ser.std.MapSerializer.serializeWithoutTypeInfo(MapSerializer.java:764)
at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:720)
at com.fasterxml.jackson.databind.ser.std.MapSerializer.serialize(MapSerializer.java:35)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:774)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
at com.fasterxml.jackson.databind.ObjectMapper._writeValueAndClose(ObjectMapper.java:4568)
at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:3821)
at org.apache.dolphinscheduler.extract.base.serialize.JsonSerializer.serialize(JsonSerializer.java:75)
at org.apache.dolphinscheduler.extract.base.StandardRpcRequest.of(StandardRpcRequest.java:42)
at org.apache.dolphinscheduler.extract.base.client.SyncClientMethodInvoker.invoke(SyncClientMethodInvoker.java:42)
at org.apache.dolphinscheduler.extract.base.client.ClientInvocationHandler.invoke(ClientInvocationHandler.java:55)
at com.sun.proxy.$Proxy858.dispatchTask(Unknown Source)
at org.apache.dolphinscheduler.server.master.runner.dispatcher.WorkerTaskDispatcher.doDispatch(WorkerTaskDispatcher.java:62)
at org.apache.dolphinscheduler.server.master.runner.BaseTaskDispatcher.dispatchTask(BaseTaskDispatcher.java:64)
at org.apache.dolphinscheduler.server.master.runner.GlobalTaskDispatchWaitingQueueLooper.run(GlobalTaskDispatchWaitingQueueLooper.java:78)
[INFO] 2024-04-08 11:58:19.124 +0800 o.a.d.s.w.r.o.TaskInstanceDispatchOperationFunction:[53] - Receive TaskInstanceDispatchRequest: null
[ERROR] 2024-04-08 11:58:19.124 +0800 o.a.d.e.b.s.JdkDynamicServerHandler:[115] - Invoke method public abstract org.apache.dolphinscheduler.extract.worker.transportor.TaskInstanceDispatchResponse org.apache.dolphinscheduler.extract.worker.ITaskInstanceOperator.dispatchTask(org.apache.dolphinscheduler.extract.worker.transportor.TaskInstanceDispatchRequest) failed, null.
java.lang.NullPointerException: null
Beta Was this translation helpful? Give feedback.
All reactions