Comments (2)
It is somewhat cumbersome, but the approach I took this afternoon that seems to work using the kbastani/spark-neo4j docker based solution. [ https://github.com/kbastani/spark-neo4j ]
- Use neo4j-shell to export a graphml of my subgraph of interest by running it with a cypher query from my production 2.3.2 database.
- Use a chain of 'sed' commands to rename all of my edges in the graphml export file to have the same name. (The sed rename is much faster than cypher in this case)
- Open the app_graphdb_1 docker shell, and install the 2.3.2 version of neo4j-shell-tools. Restart the shell to pick them up. (stop/start neo4j doesn't work in my docker vm anyway)
- scp the edge-renamed graphml into my docker instance.
- Import it with neo4j-shell.
- Run the pagerank service.
- Export the nodes with their page rank back out. (neo4j-shell again)
- Copy that file over to the original graph database instance.
- Load the page ranks back in.
So far it seems to be much faster than Graphaware's noderank (which runs for days and never converges), and doesn't run out of memory like Python Graph-Tool. (which can also soak up the graphml export). I'm still experimenting with the end-to-end process, meanwhile I wanted to share what I came up with today to leverage these really sweet tools until @kbastani has time to help us get to direct support of the 2.3.x neo4j releases.
from neo4j-mazerunner.
I'm using 2.3.2. I was unable to get mazerunner to work with that either. There isn't an easy way to downgrade from 2.3.2 to 2.2.1. Any other suggestions for getting it to work?
If I wanted to export the edge list from Neo4j with Cypher and then upload the page rank results independently as well, is there a subset of these docker containers that I can use to still leverage some of the fine work here, but not have to figure out how to reload my hundreds of millions of nodes and relationships into an older Neo4j instance?
from neo4j-mazerunner.
Related Issues (20)
- Allow relationship type name as a parameter to PageRank endpoint HOT 1
- Maven issue HOT 2
- Dependency issues HOT 3
- Story: As an engineer I want a way to partition an analysis on a subset of nodes within my graph HOT 2
- MazeRunner Problems - hdfs not accesssible from neo4j container [Fixed] HOT 9
- Storing the output of Spark on Neo4j HOT 2
- Method of programmatically determining when values have been persisted back to Neo4J HOT 2
- Setting up a dev environment HOT 1
- Running analysis on all relationships HOT 3
- error attaching an existing graph.db HOT 4
- Betweenness Centrality Tractability? HOT 2
- Individual value PR by relationship
- Is this project dead? HOT 3
- integrate simRank algorithm HOT 3
- [doc-enhancement] File an guide on collaborative filtering algorithm
- Request for docker-compose
- Error while building neo4j-mazerunner project
- Can't Increase memory size in docker-compose.yml
- Using StandAlone Spark Cluster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-mazerunner.