刘珍 created IOTDB-3478: ------------------------- Summary: [ NewIoTDB ] Internal error processing fetchFragmentInstanceState : NPE Key: IOTDB-3478 URL: https://issues.apache.org/jira/browse/IOTDB-3478 Project: Apache IoTDB Issue Type: Bug Components: Core/Query Affects Versions: 0.14.0-SNAPSHOT Reporter: 刘珍 Assignee: Jinrui Zhang Attachments: config.properties, log_error.log
master_0614_3e0a128 长测配置(bm配置文件见附件),log error: 2022-06-14 09:55:59,542 [20220614_015557_03997_0.1.0-21] ERROR o.a.i.d.m.e.driver.Driver:373 - Error closing operator [0, 20220614_015557_03997_0.1.0] for fragment instance {} java.lang.NullPointerException: null at org.apache.iotdb.commons.udf.service.UDFClassLoaderManager.finalizeUDFQuery(UDFClassLoaderManager.java:67) at org.apache.iotdb.db.mpp.transformation.dag.udf.UDTFContext.finalizeUDFExecutors(UDTFContext.java:60) at org.apache.iotdb.db.mpp.execution.operator.process.TransformOperator.close(TransformOperator.java:265) at org.apache.iotdb.db.mpp.execution.driver.Driver.closeAndDestroyOperators(Driver.java:337) at org.apache.iotdb.db.mpp.execution.driver.Driver.destroyIfNecessary(Driver.java:312) at org.apache.iotdb.db.mpp.execution.driver.Driver.tryWithLock(Driver.java:277) at org.apache.iotdb.db.mpp.execution.driver.Driver.tryWithLockUnInterruptibly(Driver.java:247) at org.apache.iotdb.db.mpp.execution.driver.Driver.isFinished(Driver.java:87) at org.apache.iotdb.db.mpp.execution.schedule.DriverTaskThread.execute(DriverTaskThread.java:72) at org.apache.iotdb.db.mpp.execution.schedule.AbstractDriverThread.run(AbstractDriverThread.java:57) 2022-06-14 09:56:04,155 [pool-17-IoTDB-MPPCoordinatorScheduled-1] ERROR o.a.i.c.c.s.SyncThriftClientWithErrorHandler:80 - root cause message Internal error processing fetchFragmentInstanceState, LocalizedMessage Internal error processing fetchFragmentInstanceState, org.apache.thrift.TApplicationException: Internal error processing fetchFragmentInstanceState at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.CGLIB$receiveBase$63(<generated>) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093$$FastClassByCGLIB$$1ee7cd2b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:55) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.receiveBase(<generated>) at org.apache.iotdb.mpp.rpc.thrift.InternalService$Client.recv_fetchFragmentInstanceState(InternalService.java:259) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.CGLIB$recv_fetchFragmentInstanceState$17(<generated>) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093$$FastClassByCGLIB$$1ee7cd2b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:55) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.recv_fetchFragmentInstanceState(<generated>) at org.apache.iotdb.mpp.rpc.thrift.InternalService$Client.fetchFragmentInstanceState(InternalService.java:246) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.CGLIB$fetchFragmentInstanceState$52(<generated>) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093$$FastClassByCGLIB$$1ee7cd2b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:55) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.fetchFragmentInstanceState(<generated>) at org.apache.iotdb.db.mpp.plan.scheduler.AbstractFragInsStateTracker.fetchState(AbstractFragInsStateTracker.java:73) at org.apache.iotdb.db.mpp.plan.scheduler.FixedRateFragInsStateTracker.fetchStateAndUpdate(FixedRateFragInsStateTracker.java:79) at org.apache.iotdb.commons.concurrent.threadpool.ScheduledExecutorUtil.lambda$scheduleAtFixedRate$0(ScheduledExecutorUtil.java:152) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 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) 2022-06-14 09:56:04,156 [pool-17-IoTDB-MPPCoordinatorScheduled-1] ERROR o.a.i.d.m.p.s.FixedRateFragInsStateTracker:87 - error happened while fetching query state org.apache.thrift.TException: Error in calling method fetchFragmentInstanceState at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:94) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.fetchFragmentInstanceState(<generated>) at org.apache.iotdb.db.mpp.plan.scheduler.AbstractFragInsStateTracker.fetchState(AbstractFragInsStateTracker.java:73) at org.apache.iotdb.db.mpp.plan.scheduler.FixedRateFragInsStateTracker.fetchStateAndUpdate(FixedRateFragInsStateTracker.java:79) at org.apache.iotdb.commons.concurrent.threadpool.ScheduledExecutorUtil.lambda$scheduleAtFixedRate$0(ScheduledExecutorUtil.java:152) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 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) Caused by: org.apache.thrift.TException: Error in calling method recv_fetchFragmentInstanceState at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:94) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.recv_fetchFragmentInstanceState(<generated>) at org.apache.iotdb.mpp.rpc.thrift.InternalService$Client.fetchFragmentInstanceState(InternalService.java:246) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.CGLIB$fetchFragmentInstanceState$52(<generated>) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093$$FastClassByCGLIB$$1ee7cd2b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:55) ... 11 common frames omitted Caused by: org.apache.thrift.TException: Error in calling method receiveBase at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:94) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.receiveBase(<generated>) at org.apache.iotdb.mpp.rpc.thrift.InternalService$Client.recv_fetchFragmentInstanceState(InternalService.java:259) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.CGLIB$recv_fetchFragmentInstanceState$17(<generated>) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093$$FastClassByCGLIB$$1ee7cd2b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:55) ... 17 common frames omitted Caused by: org.apache.thrift.TApplicationException: Internal error processing fetchFragmentInstanceState at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093.CGLIB$receiveBase$63(<generated>) at org.apache.iotdb.commons.client.sync.SyncDataNodeInternalServiceClient$$EnhancerByCGLIB$$6edbd093$$FastClassByCGLIB$$1ee7cd2b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.apache.iotdb.commons.client.sync.SyncThriftClientWithErrorHandler.intercept(SyncThriftClientWithErrorHandler.java:55) ... 23 common frames omitted -- This message was sent by Atlassian Jira (v8.20.7#820007)