使用AssertionError

时间:2015-06-15 16:34:42

标签: neo4j

当我尝试导入一个非常大的图10b +节点和关系时,我得到一个跟随AssertionError。有潜在的节点有大量的关系,最多10米。当我减少数据导入的大小(< 10b节点和任何给定节点上的< 1m关系)时,我没有遇到错误。这是一个原型,我试图了解我是否达到了某种限制,或者是否有人可以提供一些指导如何进行调试。

我确实知道有34b节点和34b关系限制,这不是我遇到的。

这是在Windows 64位计算机上。

谢谢。

2015-06-15 15:53:19.501+0000 ERROR [org.neo4j]: Error during import Requested index -2147483648, but length is 2186000000
rangeParams:
  [0, 70483559]
  [70483559, 70484353]
  [140967912, 70483361]
  [211451273, 70484569]
  [281935842, 70484114]
  [352419956, 70481036]
  [422900992, 70477816]
  [493378808, 70481928]
  [563860736, 70479956]
  [634340692, 70477857]
  [704818549, 70484071]
  [775302620, 70480142]
  [845782762, 70487626]
  [916270388, 70483085]
  [986753473, 70487203]
  [1057240676, 70486084]
  [1127726760, 70486862]
  [1198213622, 70484457]
  [1268698079, 70484821]
  [1339182900, 70484610]
  [1409667510, 70487647]
  [1480155157, 70486347]
  [1550641504, 70488383]
  [1621129887, 70485274]
  [1691615161, 70486931]
  [1762102092, 70485245]
  [1832587337, 70486573]
  [1903073910, 70482433]
  [1973556343, 70485091]
  [2044041434, 70486198]
  [2114527632, 70626133]
bucketRange:
  661273
  674489
  687702
  700955
  714149
  724039
  730444
  736836
  743243
  749615
  756022
  762420
  768829
  775192
  781600
  789228
  800643
  812047
  823462
  834870
  846279
  1058186
  1077351
  1096513
  1114991
  1125762
  1136537
  1147309
  1158082
  1168852
  8388608
bucketIndex:
  70483559
  70484353
  70483361
  70484569
  70484114
  70481036
  70477816
  70481928
  70479956
  70477857
  70484071
  70480142
  70487626
  70483085
  70487203
  70486084
  70486862
  70484457
  70484821
  70484610
  70487647
  70486347
  70488383
  70485274
  70486931
  70485245
  70486573
  70482433
  70485091
  70486198
  32956017

java.lang.RuntimeException: Requested index -2147483648, but length is 2186000000
rangeParams:
  [0, 70483559]
  [70483559, 70484353]
  [140967912, 70483361]
  [211451273, 70484569]
  [281935842, 70484114]
  [352419956, 70481036]
  [422900992, 70477816]
  [493378808, 70481928]
  [563860736, 70479956]
  [634340692, 70477857]
  [704818549, 70484071]
  [775302620, 70480142]
  [845782762, 70487626]
  [916270388, 70483085]
  [986753473, 70487203]
  [1057240676, 70486084]
  [1127726760, 70486862]
  [1198213622, 70484457]
  [1268698079, 70484821]
  [1339182900, 70484610]
  [1409667510, 70487647]
  [1480155157, 70486347]
  [1550641504, 70488383]
  [1621129887, 70485274]
  [1691615161, 70486931]
  [1762102092, 70485245]
  [1832587337, 70486573]
  [1903073910, 70482433]
  [1973556343, 70485091]
  [2044041434, 70486198]
  [2114527632, 70626133]
bucketRange:
  661273
  674489
  687702
  700955
  714149
  724039
  730444
  736836
  743243
  749615
  756022
  762420
  768829
  775192
  781600
  789228
  800643
  812047
  823462
  834870
  846279
  1058186
  1077351
  1096513
  1114991
  1125762
  1136537
  1147309
  1158082
  1168852
  8388608
bucketIndex:
  70483559
  70484353
  70483361
  70484569
  70484114
  70481036
  70477816
  70481928
  70479956
  70477857
  70484071
  70480142
  70487626
  70483085
  70487203
  70486084
  70486862
  70484457
  70484821
  70484610
  70487647
  70486347
  70488383
  70485274
  70486931
  70485245
  70486573
  70482433
  70485091
  70486198
  32956017

    at org.neo4j.unsafe.impl.batchimport.staging.StageExecution.stillExecuting(StageExecution.java:62)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.anyStillExecuting(ExecutionSupervisor.java:79)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.finishAwareSleep(ExecutionSupervisor.java:102)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisor.supervise(ExecutionSupervisor.java:64)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisors.superviseExecution(ExecutionSupervisors.java:80)
    at org.neo4j.unsafe.impl.batchimport.staging.ExecutionSupervisors.superviseDynamicExecution(ExecutionSupervisors.java:59)
    at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.executeStages(ParallelBatchImporter.java:239)
    at org.neo4j.unsafe.impl.batchimport.ParallelBatchImporter.doImport(ParallelBatchImporter.java:160)
    at org.neo4j.tooling.ImportTool.main(ImportTool.java:293)
    at org.neo4j.tooling.ImportTool.main(ImportTool.java:227)
Caused by: java.lang.AssertionError: Requested index -2147483648, but length is 2186000000
rangeParams:
  [0, 70483559]
  [70483559, 70484353]
  [140967912, 70483361]
  [211451273, 70484569]
  [281935842, 70484114]
  [352419956, 70481036]
  [422900992, 70477816]
  [493378808, 70481928]
  [563860736, 70479956]
  [634340692, 70477857]
  [704818549, 70484071]
  [775302620, 70480142]
  [845782762, 70487626]
  [916270388, 70483085]
  [986753473, 70487203]
  [1057240676, 70486084]
  [1127726760, 70486862]
  [1198213622, 70484457]
  [1268698079, 70484821]
  [1339182900, 70484610]
  [1409667510, 70487647]
  [1480155157, 70486347]
  [1550641504, 70488383]
  [1621129887, 70485274]
  [1691615161, 70486931]
  [1762102092, 70485245]
  [1832587337, 70486573]
  [1903073910, 70482433]
  [1973556343, 70485091]
  [2044041434, 70486198]
  [2114527632, 70626133]
bucketRange:
  661273
  674489
  687702
  700955
  714149
  724039
  730444
  736836
  743243
  749615
  756022
  762420
  768829
  775192
  781600
  789228
  800643
  812047
  823462
  834870
  846279
  1058186
  1077351
  1096513
  1114991
  1125762
  1136537
  1147309
  1158082
  1168852
  8388608
bucketIndex:
  70483559
  70484353
  70483361
  70484569
  70484114
  70481036
  70477816
  70481928
  70479956
  70477857
  70484071
  70480142
  70487626
  70483085
  70487203
  70486084
  70486862
  70484457
  70484821
  70484610
  70487647
  70486347
  70488383
  70485274
  70486931
  70485245
  70486573
  70482433
  70485091
  70486198
  32956017

    at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort.sortRadix(ParallelSort.java:180)
    at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort.run(ParallelSort.java:69)
    at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:219)
    at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:50)
    at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)

1 个答案:

答案 0 :(得分:0)

你在这里使用哪个版本的neo4j?它还可以重复吗?如果是,我是否可以访问源(csv)文件,纯粹用于取证?我是导入工具的主要开发人员之一。