You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2021/11/09 09:58:00 UTC

[jira] [Created] (IOTDB-1978) An illegal path error is reported when the sender (V0.12.1 or V0.12.2) synchronizes data with the receiver (rel/0.12)

xiaozhihong created IOTDB-1978:
----------------------------------

             Summary: An illegal path error is reported when the sender (V0.12.1 or V0.12.2) synchronizes data with the receiver (rel/0.12)
                 Key: IOTDB-1978
                 URL: https://issues.apache.org/jira/browse/IOTDB-1978
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Tools/Sync
            Reporter: xiaozhihong


The recurring problem is as follows:
step1:Configuration parameter
receiver:(iotdb-engine.propertie{color:#000000}{color:#2c3e50}s{color}{color})

is_sync_enable=true

ip_white_list=0.0.0.0/0

sync_server_port=5555

----------------------------------------------
sender:(iotdb-sync-client.properties)

{color:#000000}server_ip=172.20.31.3{color}

{color:#000000}server_port=5555{color}

{color:#000000}sync_period_in_second=600{color}

{color:#000000}sync_storage_groups = root.sg1, root.sg2{color}

{color:#000000}max_number_of_sync_file_retry=5{color}

{color:#000000}step2: The sender and the receiver start the server separatelystart server 
step3: The sender executes start-sync-client.sh
step4: The sender write data and flush
step5: check data and log 

At last ,a error is reported :
2021-11-09 17:36:37,525 [Sync] INFO  o.a.i.d.s.r.t.SyncServiceImpl:260 - Receiver has received /home/xzh/iotdb/sync-tool/iotdb/distribution/target/apache-iotdb-0.12.4-SNAPSHOT-all-bin/apache-iotdb-0.12.4-SNAPSHOT-all-bin/./sbin/../data/data/sync-receiver/172.20.31.3_325200ff0e7649b89063e96005ebf227/data/root.test.g_7/root.test.g/7/0/0/1636450288921-1-0-2.tsfile successfully. 
2021-11-09 17:36:37,526 [pool-15-IoTDB-Load-TsFile-4] ERROR o.a.i.d.s.r.l.FileLoader:89 - Can not load task LoadTask\{file=/home/xzh/iotdb/sync-tool/iotdb/distribution/target/apache-iotdb-0.12.4-SNAPSHOT-all-bin/apache-iotdb-0.12.4-SNAPSHOT-all-bin/./sbin/../data/data/sync-receiver/172.20.31.3_325200ff0e7649b89063e96005ebf227/data/root.test.g_7/root.test.g/7/0/0/1636450288921-1-0-2.tsfile, type=ADD} 
java.io.IOException: Can not load new tsfile /home/xzh/iotdb/sync-tool/iotdb/distribution/target/apache-iotdb-0.12.4-SNAPSHOT-all-bin/apache-iotdb-0.12.4-SNAPSHOT-all-bin/./sbin/../data/data/sync-receiver/172.20.31.3_325200ff0e7649b89063e96005ebf227/data/root.test.g_7/root.test.g/7/0/0/1636450288921-1-0-2.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: 7 is not a legal path
    at org.apache.iotdb.db.engine.StorageEngine.getProcessorDirectly(StorageEngine.java:499)
    at org.apache.iotdb.db.engine.StorageEngine.loadNewTsFileForSync(StorageEngine.java:923)
    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: 7 is not a legal path
    at org.apache.iotdb.db.metadata.MTree.getStorageGroupNodeByPath(MTree.java:628)
    at org.apache.iotdb.db.metadata.MManager.getStorageGroupNodeByPath(MManager.java:1060)
    at org.apache.iotdb.db.engine.StorageEngine.getProcessorDirectly(StorageEngine.java:495)
    ... 9 common frames omitted

{color}

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)