Re: using In-Memory in JanusGraph Verison 0.5.2 Throws Exception


Boxuan Li <libo...@...>
 

Make sure you have included janusgraph-inmemory in your dependency.

Cheers,
Boxuan


On Friday, December 18, 2020 at 4:07:10 PM UTC+8 kri...@... wrote:
Hi folks


i have updated janusgraph version from 0.4.1 to 0.5.2. all my previous unit testcases with inmemory config throws expection below. should i want to add any more particular dependency to my project for running inmemory graph?
can you please help me regarding this issue.

using below config for inmemory janusgraph instance.
graph = JanusGraphFactory.build().set("storage.backend", "inmemory")
.set("graph.timestamps",TimestampProviders.NANO) .open();

java.lang.IllegalArgumentException: Could not find implementation class: org.janusgraph.diskstorage.inmemory.InMemoryStoreManager
at org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:60)
at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:440)
at org.janusgraph.diskstorage.Backend.getStorageManager(Backend.java:411)
at org.janusgraph.graphdb.configuration.builder.GraphDatabaseConfigurationBuilder.build(GraphDatabaseConfigurationBuilder.java:50)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:161)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:132)
at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:122)
at org.janusgraph.core.JanusGraphFactory$Builder.open(JanusGraphFactory.java:261)


Thanks & Regards
Krishna Sailesh

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