求助大神啊。用batch-import导入数据出现 'neostore' has a store version 'v0.A.8' that we cannot upgrade from.错误。
发布于 5 个月前 作者 leon35 715 次浏览 来自 问答

求助大神啊。用batch-import导入数据出现 ‘neostore’ has a store version ‘v0.A.8’ that we cannot upgrade from.错误。 图传不了。报错如下: user@W780-G20:/data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/batch-import-tool-master$ ./import.sh /data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/data/databases/graph.db /data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/batch-import-tool-master/file/nodes.csv /data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/batch-import-tool-master/file/rels.csv Usage: Importer data/dir nodes.csv relationships.csv [node_index node-index-name fulltext|exact nodes_index.csv rel_index rel-index-name fulltext|exact rels_index.csv …] Using: Importer batch.properties /data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/data/databases/graph.db /data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/batch-import-tool-master/file/nodes.csv /data/zhyang/medical_assistance_diagnosis/neo4j-community-3.3.9/batch-import-tool-master/file/rels.csv

Using Existing Configuration File Exception in thread “main” org.neo4j.kernel.impl.storemigration.StoreUpgrader$UnexpectedUpgradingStoreVersionException: ‘neostore’ has a store version ‘v0.A.8’ that we cannot upgrade from. at org.neo4j.kernel.impl.store.NeoStores.verifyRecordFormat(NeoStores.java:175) at org.neo4j.kernel.impl.store.NeoStores.<init>(NeoStores.java:136) at org.neo4j.kernel.impl.store.StoreFactory.openNeoStores(StoreFactory.java:169) at org.neo4j.kernel.impl.store.StoreFactory.openAllNeoStores(StoreFactory.java:133) at org.neo4j.unsafe.batchinsert.internal.BatchInserterImpl.<init>(BatchInserterImpl.java:265) at org.neo4j.unsafe.batchinsert.BatchInserters.inserter(BatchInserters.java:85) at org.neo4j.unsafe.batchinsert.BatchInserters.inserter(BatchInserters.java:66) at org.neo4j.batchimport.Importer.createBatchInserter(Importer.java:64) at org.neo4j.batchimport.Importer.<init>(Importer.java:40) at org.neo4j.batchimport.Importer.main(Importer.java:82)

5 回复

你好,这个问题你解决了嘛,我也碰到这个问题解决不了

使用neo4j/bin/neo4j-admin import命令导入。

@graphway 这个指适用于新库的时候,我后续新增用batch import导入出现这个问题,该怎么解决

batch-import导入增量数据时如果目标文件已经被neo4j程序使用了好像是会有这问题,我也遇到过,但是如果目标文件没有被使用过貌似就没问题。 可以考虑通过备份文件的方式解决,单独放一份文件供导入用,然后拷贝一份文件供图数据库使用,但是这种解决方式不适合有数据变动的场景;

仅供参考

import命令不能用于后续更新数据。

回到顶部