Thanks a lot! upgrading to 2.3.3 indeed solves my problem! :) On Wednesday, March 30, 2016 at 10:10:33 AM UTC-7, Mattias Persson wrote: > > https://github.com/neo4j/neo4j/pull/6180 was the fix for this, made by > yours truly :) > > I'm more than fairly confident that's the issue you're running into. > > On Wed, Mar 30, 2016 at 6:43 PM, Zhixuan Wang <wangzhi...@gmail.com > <javascript:>> wrote: > >> Thank you for your reply. >> >> >> I am using 2.2.6, unfortunately it is not that easy for me to install a >> new software on my server. >> >> So before reinstall the neo4j, can you help me understand what bug is >> that? Is there any diagnosis that I can do to confirm it is truly because >> of this bug? >> >> >> >> On Wednesday, March 30, 2016 at 2:26:29 AM UTC-7, Mattias Persson wrote: >>> >>> Which Neo4j versions is this? This has been fixed and should be working >>> fine in 2.3.3 >>> >>> On Wednesday, March 30, 2016 at 2:43:23 AM UTC+2, Michael Hunger wrote: >>>> >>>> What is your header definition and what your command-line call? >>>> >>>> michael >>>> >>>> Am 30.03.2016 um 01:39 schrieb Zhixuan Wang <wangzhi...@gmail.com>: >>>> >>>> I was trying to import a database with about 2-3 billion nodes. >>>> According to their documentation it should allow for as many as 35 >>>> billion nodes. >>>> >>>> However, I still got this error message duing neo4j-import >>>> >>>> *Prepare node index* >>>> *^M[*:21.14 >>>> GB------------------------------------------------------------------------------------] >>>> >>>> 0^M[*:21.14 >>>> GB------------------------------------------------------------------------------------] >>>> >>>> 0^M[*:21.14 >>>> GB------------------------------------------------------------------------------------] >>>> >>>> 0^M[*:21.14 >>>> GB------------------------------------------------------------------------------------] >>>> >>>> 0Exception in thread "Thread-737" java.lang.ArithmeticException: Value >>>> 4386536741 is too big to be represented as java.lang.Integer* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.Utils.safeCastLongToInt(Utils.java:36)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort.sortRadix(ParallelSort.java:142)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort.run(ParallelSort.java:68)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:270)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)* >>>> *Import error: Value 4386536741 is too big to be represented as >>>> java.lang.Integer* >>>> *java.lang.ArithmeticException: Value 4386536741 is too big to be >>>> represented as java.lang.Integer* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.Utils.safeCastLongToInt(Utils.java:36)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort.sortRadix(ParallelSort.java:142)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort.run(ParallelSort.java:68)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:270)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)* >>>> >>>> *Exception in thread "TrackerInitializer-26" >>>> java.lang.ArrayIndexOutOfBoundsException: Requested index -1915368251, but >>>> length is 2837264380* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.OffHeapNumberArray.addressOf(OffHeapNumberArray.java:54)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.OffHeapIntArray.set(OffHeapIntArray.java:48)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.ParallelSort$TrackerInitializer.run(ParallelSort.java:411)* >>>> * at >>>> org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.Workers$Worker.run(Workers.java:123)* >>>> >>>> It looks to me that something went wrong while neo4j was trying to >>>> creating the index. here comes my questions: >>>> >>>> 1. I assume the problem is that the index type is set to >>>> java.lang.integer by default, *is that true*? >>>> ---- And it would also be greatly appreciated if some one can help me >>>> understand what is the value 4386536741 here? I definitely don't have >>>> that many nodes >>>> >>>> 2. What ever whose datatype it is, *how do I change that to >>>> java.lang.long in the neo4j-import command*? >>>> >>>> >>>> Thanks a lot for your time. >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Neo4j" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to neo4j+un...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> > > > -- > Mattias Persson > Neo4j Hacker at Neo Technology >
-- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.