Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.14.0-SNAPSHOT
-
None
-
2022-11-Cluster
Description
[udf]create udf with bad uri failed with 305 null: NPE
environment:
3C3D cluster , Nov.28th master
expect:
1. not NPE
2. not error log
reproduction:
create function my_compare2 as "com.timecho.udf.upload.TestObjectRow" using uri "/data/nginx/upload-udf-test-0.14-SNAPSHOT.jar"
datanode log:
2022-11-28 11:44:06,666 [pool-4-IoTDB-timedQuerySqlCount-1] INFO o.a.i.d.s.b.QueryFrequencyRecorder:44 - Query count in current 1 minute 1 2022-11-28 11:44:08,711 [pool-26-IoTDB-ClientRPC-Processor-4$20221128_034408_00069_3] ERROR o.a.i.d.m.p.e.c.ConfigExecution:132 - Failures happened during running ConfigExecution. java.lang.NullPointerException: null at org.apache.iotdb.db.mpp.plan.execution.config.executor.ClusterConfigTaskExecutor.createFunction(ClusterConfigTaskExecutor.java:310) at org.apache.iotdb.db.mpp.plan.execution.config.metadata.CreateFunctionTask.execute(CreateFunctionTask.java:40) at org.apache.iotdb.db.mpp.plan.execution.config.ConfigExecution.start(ConfigExecution.java:107) at org.apache.iotdb.db.mpp.plan.Coordinator.execute(Coordinator.java:150) at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:215) at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:390) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3453) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3433) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38) at org.apache.iotdb.db.service.thrift.ProcessorWithMetrics.process(ProcessorWithMetrics.java:64) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)