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 2021/09/24 06:52:00 UTC

[jira] [Created] (IOTDB-1731) sync error between different os

yusicheng created IOTDB-1731:
--------------------------------

             Summary: sync error between different os
                 Key: IOTDB-1731
                 URL: https://issues.apache.org/jira/browse/IOTDB-1731
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
    Affects Versions: 0.12.2, master branch
            Reporter: yusicheng


origin from [discussion#4001](https://github.com/apache/iotdb/discussions/4001)

if we want to sync one computer with windows os data to another computer with unix os, 
the sync process will stop, and a error is thrown like this:
-receiver/10.20.12.142_0583441c495b416d95c9945631bc3eff/data/root.industry.w9/root.industry.w9\0\0\1631930688647-1-0-0.tsfile, type=ADD}
java.io.IOException: Can not load new tsfile /data/local/iotdb-server/./sbin/../data/data/sync-receiver/10.20.12.142_0583441c495b416d95c9945631bc3eff/data/root.industry.w9/root.industry.w9\0\0\1631930688647-1-0-0.tsfile
at org.apache.iotdb.db.sync.receiver.load.FileLoader.loadNewTsfile(FileLoader.java:148)
at org.apache.iotdb.db.sync.receiver.load.FileLoader.handleLoadTask(FileLoader.java:120)
at org.apache.iotdb.db.sync.receiver.load.FileLoader.lambda$new$0(FileLoader.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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.iotdb.db.exception.StorageEngineException: org.apache.iotdb.db.exception.metadata.IllegalPathException: 10.20.12.142_0583441c495b416d95c9945631bc3eff is not a legal path
at org.apache.iotdb.db.engine.StorageEngine.getProcessorDirectly(StorageEngine.java:391)
at org.apache.iotdb.db.engine.StorageEngine.loadNewTsFileForSync(StorageEngine.java:820)
at org.apache.iotdb.db.sync.receiver.load.FileLoader.loadNewTsfile(FileLoader.java:143)
... 7 common frames omitted
Caused by: org.apache.iotdb.db.exception.metadata.IllegalPathException: 10.20.12.142_0583441c495b416d95c9945631bc3eff is not a legal path
at org.apache.iotdb.db.metadata.MTree.getStorageGroupNodeByPath(MTree.java:560)
at org.apache.iotdb.db.metadata.MManager.getStorageGroupNodeByPath(MManager.java:1055)
at org.apache.iotdb.db.engine.StorageEngine.getProcessorDirectly(StorageEngine.java:387)
... 9 common frames omitted
2021-09-18 10:09:03,790 [pool-9-IoTDB-Load-TsFile-1] INFO o.a.i.d.s.r.l.FileLoader:177 - Sync loading process for 10.20.12.142_0583441c495b416d95c9945631bc3eff has finished.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)