What is your header definition and what your command-line call? michael
> Am 30.03.2016 um 01:39 schrieb Zhixuan Wang <[email protected]>: > > 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 [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
