Closed jonhealy1 closed 4 years ago
--- Eigenvector Centrality --- subreddit score 0 iama 321.911086 1 askreddit 311.323265 2 pics 263.799529 3 funny 258.084657 4 videos 253.007776 5 todayilearned 231.063511 6 worldnews 184.428278 7 gaming 182.708345 8 news 180.482415 9 gifs 165.655387
This is what the Docker window looked like in terminal:
neo4j | 2019-10-30 18:55:44.678+0000 INFO [neo4j.BoltWorker-4 [bolt] [/172.24.0.1:46872] ] PageRank 141% Memory usage: 2499 MiB neo4j | 2019-10-30 18:56:06.078+0000 INFO [neo4j.BoltWorker-4 [bolt] [/172.24.0.1:46872] ] PageRank 143% Memory usage: 2499 MiB neo4j | 2019-10-30 18:58:33.296+0000 INFO [neo4j.BoltWorker-4 [bolt] [/172.24.0.1:46872] ] PageRank 146% Memory usage: 2499 MiB neo4j | 2019-10-30 18:58:36.339+0000 INFO Eigenvector Centrality: overall memory usage: 2307 MiB
I encountered this error running python3 examine_Data.py
:
py2neo.database.ClientError: ProcedureNotFound: There is no procedure with the name
`algo.eigenvector.stream` registered for this database instance. Please ensure you've
spelled the procedure name correctly and that the procedure is properly deployed.
I encountered this error running
python3 examine_Data.py
:py2neo.database.ClientError: ProcedureNotFound: There is no procedure with the name `algo.eigenvector.stream` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
Are you doing: 'docker-compose up neo4j' from the assignment3 folder?
I encountered this error running
python3 examine_Data.py
:py2neo.database.ClientError: ProcedureNotFound: There is no procedure with the name `algo.eigenvector.stream` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
Are you doing: 'docker-compose up neo4j' from the assignment3 folder?
I believe so, because I got the first two queries running just fine, the problem is from the last one. Is there any additional module I need to install?
It installs it in the docker-compose file
environment:
I feel like you may still be using docker instead of docker-compose What is your docker command?
It installs it in the docker-compose file
environment:
- NEO4J_dbms_memory_heap_max__size=4G
- NEO4JLABS_PLUGINS=["apoc", "graph-algorithms"]
- NEO4J_dbms_security_proceduresunrestricted=algo.,apoc._
Oh yes, I think you forgot to update this part.
You shouldn't need to update - I already did. We are not using the docker command like before. Docker-compose is completely different
You do$ docker-compose up neo4j
Then it runs this file: version: '3.3'
services: neo4j: image: neo4j:latest container_name: neo4j ports:
You shouldn't need to update - I already did. We are not using the docker command like before. Docker-compose is completely different
I am using docker-compose. The command I use is docker-compose up neo4j
. I just looked at your docker-compose.yml
file, it is missing some of the environments you listed in previous comment.
Oh ok. Sorry. Weird I don't know why it didn't push?
I think it's fixed now.
yep, it looks very solid.
The eigenvector took about half an hour to run. I had to edit the docker-compose file to get it to run. There are other algorithms in neo4j we can try out.