I'm using batch-import to import nodes and relationships. I'm getting 
following exception. I'm using JAVA 1.7.

D:\builds\batch-import>java -server -Xmx4G -jar 
target/batch-import-jar-with-dep
endencies.jar target/db nodes.tsv rels.tsv
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_ind
ex.csv ....]
Using: Importer target/db nodes.tsv rels.tsv

Using Existing Configuration File
...
Importing 366598 Nodes took 3 seconds
......
Importing 647269 Relationships took 24 seconds


*Exception in thread "main" 
org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException: Unable to 
close store 
D:\builds\batch-import\target\db\neostore.propertystore.db.strings*
        at 
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.close(CommonAb
stractStore.java:618)
        at 
org.neo4j.kernel.impl.nioneo.store.PropertyStore.closeStorage(Propert
yStore.java:119)
        at 
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.close(CommonAb
stractStore.java:562)
        at 
org.neo4j.kernel.impl.nioneo.store.NeoStore.closeStorage(NeoStore.jav
a:229)
        at 
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.close(CommonAb
stractStore.java:562)
        at 
org.neo4j.unsafe.batchinsert.BatchInserterImpl.shutdown(BatchInserter
Impl.java:715)
        at org.neo4j.batchimport.Importer.finish(Importer.java:83)
        at org.neo4j.batchimport.Importer.doImport(Importer.java:221)
        at org.neo4j.batchimport.Importer.main(Importer.java:78)
Caused by: java.io.IOException: The requested operation cannot be performed 
on a
 file with a user-mapped section open
        at sun.nio.ch.FileDispatcherImpl.truncate0(Native Method)
        at sun.nio.ch.FileDispatcherImpl.truncate(Unknown Source)
        at sun.nio.ch.FileChannelImpl.truncate(Unknown Source)
        at 
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.close(CommonAb
stractStore.java:598)
        ... 8 more

How to fix this exception?

-- 
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.

Reply via email to