Open tomasonjo opened 6 years ago
Looks like the algo did not even start to run, it got stuck during the loading step. BD forces the loader to load a HugeGraph, maybe there is a problem. Im going to create a small test for this. thx
Found some weird behaviour here...
Using Neo4j 3.5.2 and graph algos 3.5.3.3 in Neo4j Browser.
On the first run of balanced triads the above bug is relevant as the loader stays at 1%. I got it to complete the algo a couple of times on the second run. And if I restarted the db the same scenario occurred where balanced triads worked only on the second run.
After a couple of iterations this stopped working, which is really confusing and I can't get it to work anymore.
Recreate on a smaller graph:
UNWIND range(1,100) as x
CREATE (:Node{id:x});
MATCH (n1:Node),(n2:Node)
WHERE n1.id > n2.id*3
MERGE (n1)-[:LINK{weight:1.0}]-(n2);
and then run:
CALL algo.balancedTriads('Node', 'LINK', {weightProperty:'weight'})
YIELD loadMillis, computeMillis, writeMillis, nodeCount, balancedTriadCount, unbalancedTriadCount;
As there seems to be a problem with the graph loading I tried to just load the graph too:```
CALL algo.graph.load('my-graph','Node','LINK',{graph:'huge',weightProperty:'weight'})
YIELD name, graph, direction, undirected, sorted, nodes, loadMillis, alreadyLoaded,
nodeWeight, relationshipWeight, nodeProperty, loadNodes, loadRelationships;
and the bug persists.
I ran balanced triads on snap signed network:
https://snap.stanford.edu/data/soc-sign-epinions.html
I imported the graph as undirected even though original is directed:
Run algorithm:
Algorithms start loading the graph as logs indicate and after 40+ mins still nothing new in the logs.