Finding supernodes with insufficient frame size


Adam Holley <holl...@...>
 

Using cassandra as the backend, I was trying to count edges {g.E().count} and of course ran into the framesize problem because I had a supernode.  I found that I could identify which node was the supernode with:

g.V().toList().each{it.println(it);g.V(it).outE().count()}

This will print out the supernode vertex right before the framesize exception.  Then I can gradually increase the framesize until g.V(supernodeID) doesn't cause an exception.

Is there a better way to find supernodes without just increasing framesize to a large number, finding the supernode, and then working backward by decreasing the framesize?
As I'm not as familiar with Cassandra, once I know the supernode ID, is there a way to use CQL to determine the appropriate framesize without just gradually increasing or decreasing in the config?

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.