刘珍 created IOTDB-5158:
-------------------------

             Summary: IoTDB read resource file : Failed to get devices from 
tsfile
                 Key: IOTDB-5158
                 URL: https://issues.apache.org/jira/browse/IOTDB-5158
             Project: Apache IoTDB
          Issue Type: Bug
          Components: mpp-cluster
    Affects Versions: master branch, 1.0.0
            Reporter: 刘珍
            Assignee: Haonan Hou
         Attachments: 1670419947763-1-0-0.tsfile.resource

master  1208  7f2218b

启动报错(resource文件见附件)
2022-12-08 21:27:29,976 [pool-9-IoTDB-StorageEngine-2] ERROR 
o.a.i.d.e.s.t.FileTimeIndex:103 - Failed to get devices from tsfile: 
/data1/iotdb/m_1208_7f2218b_fast1/./sbin/../data/datanode/data/sequence/root.test.g2_0/6/25/1670419947763-1-0-0.tsfile.resource
java.io.IOException: Intend to read 23430914 bytes but 156163 are actually 
returned
        at 
org.apache.iotdb.tsfile.utils.ReadWriteIOUtils.readString(ReadWriteIOUtils.java:580)
        at 
org.apache.iotdb.db.engine.storagegroup.timeindex.DeviceTimeIndex.getDevices(DeviceTimeIndex.java:169)
        at 
org.apache.iotdb.db.engine.storagegroup.timeindex.FileTimeIndex.getDevices(FileTimeIndex.java:91)
        at 
org.apache.iotdb.db.engine.storagegroup.TsFileResource.getDevices(TsFileResource.java:411)
        at 
org.apache.iotdb.db.engine.storagegroup.DataRegion.updateLastFlushTime(DataRegion.java:565)
        at 
org.apache.iotdb.db.engine.storagegroup.DataRegion.recoverFilesInPartition(DataRegion.java:850)
        at 
org.apache.iotdb.db.engine.storagegroup.DataRegion.recover(DataRegion.java:493)
        at 
org.apache.iotdb.db.engine.storagegroup.DataRegion.<init>(DataRegion.java:333)
        at 
org.apache.iotdb.db.engine.StorageEngine.buildNewDataRegion(StorageEngine.java:455)
        at 
org.apache.iotdb.db.engine.StorageEngine.lambda$asyncRecover$2(StorageEngine.java:251)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to