The batch-importer generates databases for Neo4j 2.0 You have to set the upgrade flag "allow_store_upgrade=true" in conf/neo4j.properties
On Sat, Jun 21, 2014 at 2:16 AM, <[email protected]> wrote: > Hello, > > I'm trying to use the batch-import tool ( > https://github.com/jexp/batch-import ). > > I followed the instructions with the sample database ( in the > "./sample/import.sh" script). > > But when I move the "graph.db" generated by the script into the neo4j > "/data/" directory, and start the server, it fails to start: > $ ./bin/neo4j start > WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. > See the Neo4j manual. > Using additional JVM arguments: -server -XX:+DisableExplicitGC > -Dorg.neo4j.server.properties=conf/neo4j-server.properties > -Djava.util.logging.config.file=conf/logging.properties - > Dlog4j.configuration=file:conf/log4j.properties > -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled > Starting Neo4j Server...WARNING: not changing user > process [32231]... waiting for server to be ready... Failed to start > within 120 seconds. > Neo4j Server may have failed to start, please check the logs. > > In "console.log", the one message that appears is: > Detected incorrectly shut down database, performing recovery.. > > I'm using: > neo4j-community-2.1.2 > batch-import from git (master branch, revision 42e3106 from Jan 23rd > 2014). > java version "1.7.0_60" > > Just as a test, if I delete the "graph.db" directory and start the server, > it works fine (with an empty database). > > Is there anything that needs to be configured to use databases generated > by "batch-import" ? > Any feedback or comments are appreciated, > Thanks, > -gordon > > -- > 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. > -- 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.
