How To Set the db path of neo4j to Amazon S3

753 views
Skip to first unread message

Sukaant Chaudhary

unread,
Jan 13, 2015, 6:04:45 AM1/13/15
to ne...@googlegroups.com
Hi,
Please help me how to change this database path "neo4j.db.path" to Amazon s3

GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase("neo4j.db.path");

-Sukaant Chaudhary

Pedro Vilaça

unread,
Jan 13, 2015, 7:45:45 AM1/13/15
to ne...@googlegroups.com
That doesn't work. What are you trying to achieve?

david fauth

unread,
Jan 13, 2015, 9:54:33 AM1/13/15
to ne...@googlegroups.com
I'm curious as to why you would want to host your Neo4j database in Amazon S3. 

One solution would be to look at a product like ExpanDrive (http://www.expandrive.com/docs/map-network-drive/connecting-to-amazon-s3) which lets you map an S3 bucket as a drive letter on Windows or as a Network Drive on a Mac. 

dave

Sukaant Chaudhary

unread,
Jan 13, 2015, 10:09:50 PM1/13/15
to ne...@googlegroups.com
David,
We are running MapReduce job in Amazon EMR and planning to store in Amazon S3 as our jar file is also stored in Amazon S3.
We can also put it on Amazon EC2. Please suggest the better solution and what path I need to give.

-Sukaant Chaudhary


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

Sukaant Chaudhary

unread,
Jan 14, 2015, 1:55:06 AM1/14/15
to ne...@googlegroups.com
Hi,
Currently I'm using following url:
/home/sukaant/Desktop/graph.db

and I want to replace the above url to something as follows:
http://localhost:8080/test/graph.db/

how to achieve this?

-Sukaant Chaudhary


On Tue, Jan 13, 2015 at 8:24 PM, david fauth <dsf...@gmail.com> wrote:

--

Sukaant Chaudhary

unread,
Jan 14, 2015, 4:00:22 AM1/14/15
to ne...@googlegroups.com
Pedro,
My Project is in Amazon S3 and I'm running it through Amazon EMR. Now I've two options to store the db either I can store into Amazon S3 or I can store it in Amazon EC2.

I've used Cypher JDBC in my Project, so I need to specify the path in the following line.

GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase("neo4j.db.path");

Please help with the best possible way.

-Sukaant Chaudhary


--

Sukaant Chaudhary

unread,
Jan 14, 2015, 8:54:37 PM1/14/15
to ne...@googlegroups.com
Please help me to solve this problem asap.

-Sukaant Chaudhary

Aru Sahni

unread,
Jan 14, 2015, 9:00:12 PM1/14/15
to ne...@googlegroups.com
This doesn't sound like a wise thing to do. That being said, you could use S3FS.

Craig Taverner

unread,
Jan 15, 2015, 6:09:45 AM1/15/15
to ne...@googlegroups.com
I think the idea of running Neo4j on EC2 is the only option. Running it on a remote S3 store, even if you get it to work somehow, would perform insanely badly.

Lasse Westh-Nielsen

unread,
Jan 15, 2015, 6:16:10 AM1/15/15
to Neo4j User
+1 to what Craig said, but also: http://neo4j.com/developer/guide-cloud-deployment/

Pedro Vilaça

unread,
Jan 20, 2015, 3:46:47 AM1/20/15
to ne...@googlegroups.com
Would this work for you?
http://www.graphenedb.com/

Sukaant Chaudhary

unread,
Jan 21, 2015, 4:10:32 AM1/21/15
to ne...@googlegroups.com
Thanks all for the valuable suggestions.
I'm hosting on GrapheneDB now.
http://www.graphenedb.com/


-Sukaant Chaudhary

Reply all
Reply to author
Forward
0 new messages