问题描述
我正在尝试从 csv 文件中导入 22,148,908 个节点和 173,574,311 个边.我让 neo4j-import
工具在一夜之间运行,但是在启动 5 分钟后输出没有改变.导入好像挂了,输出如下:
I'm trying to import 22,148,908 nodes and 173,574,311 edges from csv files. I left the neo4j-import
tool to run overnight, but the output hasn't changed since after 5 minutes of starting. The import seems to be hanging and the output is as follows:
[>:34.39 MB/s----|PROPERTIES(2)======|*NODE--------------------------------------|v:66.09 MB/s-] 16Mb
查看顶部表示该线程仍在执行某些操作.该进程的 CPU 利用率始终高于 50%.但是,磁盘使用量并未增加,并且 messages.log
中没有任何行.
Looking at top says that the thread is still doing something. CPU util on that process is consistently above 50%. However, disk usage isn't growing and there are no lines in messages.log
.
是否可以启用调试选项来确定发生了什么?
Are there debug options I can enable to figure out what's going on?
推荐答案
实际上我记得最近的一个问题,如果输入文件的最后一个字符是引号 ("
),则可能会发生这种情况.如果就是这样,然后只需添加一个新行,我认为它应该可以工作.
Actually I recall a recent issue where this might occur if the last character of the input file was a quote ("
). If that's the case then just add a new-line and I think it should work.
这篇关于Neo4j 导入工具挂的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!