You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
I do not want to perform any index search and thus I do not want ElasticSearch, that is why I have removed the last 5 lines of the properties file.
When I run my application, an exception is thrown when opening the properties file:
java.lang.IllegalArgumentException: Could not find implementation class: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:47)
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:473)
at com.thinkaurelius.titan.diskstorage.Backend.getIndexes(Backend.java:460)
at com.thinkaurelius.titan.diskstorage.Backend.<init>(Backend.java:147)
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1805)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:123)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:62)
at com.....Titan.getInstance(Titan.groovy:63)
at com.....node.Control.<init>(Control.groovy:25)
at com.....node.ControlSpec.$spock_initializeFields(ControlSpec.groovy:34)
Caused by:
java.lang.ClassNotFoundException: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName(Class.java:264)
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:42)
I do not understand why the ElasticSearchIndex class is fetched, since I have not specified it anywhere.
Just to verify that this doesn't have to do with my code, I have changed the properties file to the following:
Is it possible you opened the graph once with the es properties included, and then deleted them afterwards? Or, Is it enough to just open a fresh new graph without the Es lines to get this error?
Hi,
I am trying to configure DynamoDB Local as backend for my Titan database. Up until now I have been using BerkeleyDB.
My build.gradle file looks like this:
I configure my
Graph
instance like this:TitanFactory.open("dynamodblocal.properties")
where that properties file is basically this file (https://github.com/awslabs/dynamodb-titan-storage-backend/blob/1.0.0/src/test/resources/dynamodb-local.properties) except that I have removed the last 5 lines related to index search.I do not want to perform any index search and thus I do not want ElasticSearch, that is why I have removed the last 5 lines of the properties file.
When I run my application, an exception is thrown when opening the properties file:
I do not understand why the ElasticSearchIndex class is fetched, since I have not specified it anywhere.
Just to verify that this doesn't have to do with my code, I have changed the properties file to the following:
And this works just fine.
I can avoid the exception by adding
titan-es
to mybuild.gradle
file, but I would like to avoid that as I am not using ElasticSearch.Any ideas how I can avoid including
titan-es
in my project?Thanks!
The text was updated successfully, but these errors were encountered: