You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "yusicheng (Jira)" <ji...@apache.org> on 2023/05/19 07:12:00 UTC
[jira] [Created] (IOTDB-5901) Load: load tsfile without data will throw NPE
yusicheng created IOTDB-5901:
--------------------------------
Summary: Load: load tsfile without data will throw NPE
Key: IOTDB-5901
URL: https://issues.apache.org/jira/browse/IOTDB-5901
Project: Apache IoTDB
Issue Type: Bug
Reporter: yusicheng
Assignee: yusicheng
load a tsfile without data will throw NPE
java.lang.NullPointerException: null
at org.apache.iotdb.commons.partition.StorageExecutor.getDataNodeLocation(StorageExecutor.java:39)
at org.apache.iotdb.db.mpp.plan.planner.plan.FragmentInstance.setExecutorAndHost(FragmentInstance.java:107)
at org.apache.iotdb.db.mpp.plan.scheduler.load.LoadTsFileScheduler.loadLocally(LoadTsFileScheduler.java:319)
at org.apache.iotdb.db.mpp.plan.scheduler.load.LoadTsFileScheduler.start(LoadTsFileScheduler.java:140)
at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.schedule(QueryExecution.java:305)
at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.start(QueryExecution.java:219)
at org.apache.iotdb.db.mpp.plan.Coordinator.execute(Coordinator.java:161)
at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:221)
at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:502)
at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3689)
at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3669)
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:750)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)