Date
1 - 4 of 4
Fail to load complete edge data of Graph500 to Janusgraph 0.5.3 with Cassandra CQl as storage backends
shepherdkingqsp@...
Hi there,
I am new to Janusgraph. I have some problems in loading data to Janusgraph with Cassandra CQL as storage backend. When I tried to load Graph500 to Janusgraph, planning to run benchmark on it. I found that the edges loaded to janusgraph were not complete, 67107183 edges loaded while 67108864 supposed. (Vertices loaded were complete) The code and config I used is post as below. The code I used is a benchmark by tigergraph: - load vertex: https://github.com/gaolk/graph-database-benchmark/blob/master/benchmark/janusgraph/multiThreadVertexImporter.java - load edge: https://github.com/gaolk/graph-database-benchmark/blob/master/benchmark/janusgraph/multiThreadEdgeImporter.java The config I used is conf/janusgraph-cql.properties in Janusgraph 0.5.3 full (https://github.com/JanusGraph/janusgraph/releases/download/v0.5.3/janusgraph-full-0.5.3.zip) I got those exceptions when loading data. Exception 1: Exception 2:
I have found solution on google but got few things help. Could somebody help? Best Regards, Shipeng Qi |
|
hadoopmarc@...
Hi Shipeng Qi,
The system that you use might be too small for the number of threads in the loading code. You can try to decrease the number of threads from 8 to 4 with: private static ExecutorService pool = Executors.newFixedThreadPool(4); Best wishes, Marc |
|
shepherdkingqsp@...
On Tue, Aug 24, 2021 at 06:20 AM, <hadoopmarc@...> wrote:
withGot it. I will try it soon. Thanks, Marc! Shipeng |
|
shepherdkingqsp@...
HI Marc,
I have tried it. And finally I got complete Graph500 vertices and edges loaded. But there is a still weird thing that I found the same exception reported in the log. Could you please explain this? With exception reported, the data was still loaded completely? Regards, Shipeng |
|