Which version of Rexster is compatible with Titan 1.0

61 views
Skip to first unread message

Nirlendu Saha

unread,
Oct 19, 2016, 4:30:04 AM10/19/16
to Aurelius
Greetings everyone,

I am using Titan 1.0 and would like to connect it to a Rexster server for querying.
But I am facing several issues while doing so. I tried to setup according to these references : 


But they both are for the older version, and not surprisingly, didn't work for me.

I tried rexster 2.6 with Titan 1.0


ERROR LOGS:

[WARN] GraphConfigurationContainer - Could not load graph titanexample. Please check the XML configuration.

[WARN] GraphConfigurationContainer - GraphConfiguration could not be found or otherwise instantiated: [com.thinkaurelius.titan.tinkerpop.rexster.TitanGraphConfiguration]. Ensure that it is in Rexster's path.

com.tinkerpop.rexster.config.GraphConfigurationException: GraphConfiguration could not be found or otherwise instantiated: [com.thinkaurelius.titan.tinkerpop.rexster.TitanGraphConfiguration]. Ensure that it is in Rexster's path.

at com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:142)

at com.tinkerpop.rexster.config.GraphConfigurationContainer.<init>(GraphConfigurationContainer.java:54)

at com.tinkerpop.rexster.server.XmlRexsterApplication.reconfigure(XmlRexsterApplication.java:99)

at com.tinkerpop.rexster.server.XmlRexsterApplication.<init>(XmlRexsterApplication.java:47)

at com.tinkerpop.rexster.Application.<init>(Application.java:97)

at com.tinkerpop.rexster.Application.main(Application.java:189)

Caused by: java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex

at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:55)

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:74)

at com.thinkaurelius.titan.tinkerpop.rexster.TitanGraphConfiguration.configureGraphInstance(TitanGraphConfiguration.java:33)

at com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:124)

... 5 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:44)

... 14 more

Caused by: java.lang.NoSuchFieldError: LUCENE_3_6

at org.elasticsearch.Version.<clinit>(Version.java:43)

at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.checkExpectedClientVersion(ElasticSearchIndex.java:1059)

at com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex.<init>(ElasticSearchIndex.java:186)

... 19 more





snippet from my my rexster.xml


<graphs>

        <graph>

          <graph-name>titanexample</graph-name>

          <graph-type>com.thinkaurelius.titan.tinkerpop.rexster.TitanGraphConfiguration</graph-type>

          <graph-location></graph-location>

          <graph-read-only>false</graph-read-only>

          <properties>

                <storage.backend>cassandra</storage.backend>

                <storage.hostname>127.0.0.1:9160</storage.hostname>

          </properties>

          <extensions>

            <allows>

              <allow>tp:gremlin</allow>

            </allows>

          </extensions>

        </graph>

    </graphs>




ls ext/titan shows


RoaringBitmap-0.4.5.jar

activation-1.1.jar

airline-0.6.jar

akka-actor_2.10-2.3.4-spark.jar

akka-remote_2.10-2.3.4-spark.jar

akka-slf4j_2.10-2.3.4-spark.jar

ant-1.6.5.jar

antlr-2.7.7.jar

antlr-3.2.jar

antlr-runtime-3.2.jar

asm-4.1.jar

asm-commons-4.1.jar

astyanax-cassandra-3.8.0.jar

astyanax-core-3.8.0.jar

astyanax-recipes-3.8.0.jar

astyanax-thrift-3.8.0.jar

base64-2.3.8.jar

cassandra-all-2.1.9.jar

cassandra-thrift-2.1.9.jar

chill-java-0.5.0.jar

chill_2.10-0.5.0.jar

commons-beanutils-1.7.0.jar

commons-cli-1.2.jar

commons-codec-1.7.jar

commons-collections-3.2.1.jar

commons-configuration-1.10.jar

commons-el-1.0.jar

commons-httpclient-3.1.jar

commons-io-2.3.jar

commons-lang-2.5.jar

commons-lang3-3.3.1.jar

commons-logging-1.1.1.jar

commons-math-2.2.jar

commons-math3-3.2.jar

commons-net-1.4.1.jar

commons-pool-1.6.jar

compress-lzf-1.0.0.jar

concurrentlinkedhashmap-lru-1.3.jar

config-1.2.1.jar

core-3.1.1.jar

curator-client-2.7.1.jar

curator-framework-2.7.1.jar

curator-recipes-2.7.1.jar

disruptor-3.0.1.jar

dom4j-1.6.1.jar

elasticsearch-1.5.1.jar

ezmorph-1.0.6.jar

fastutil-6.5.7.jar

findbugs-annotations-1.3.9-1.jar

gbench-0.4.3-groovy-2.4.jar

giraph-core-1.0.0.jar

gmetric4j-1.0.3.jar

gprof-0.3.1-groovy-2.4.jar

gremlin-console-3.0.1-incubating.jar

gremlin-core-3.0.1-incubating.jar

gremlin-driver-3.0.1-incubating.jar

gremlin-groovy-3.0.1-incubating.jar

gremlin-server-3.0.1-incubating.jar

gremlin-shaded-3.0.1-incubating.jar

groovy-2.4.1-indy.jar

groovy-2.4.1.jar

groovy-console-2.4.1.jar

groovy-groovysh-2.4.1-indy.jar

groovy-json-2.4.1-indy.jar

groovy-jsr223-2.4.1-indy.jar

groovy-sql-2.4.1-indy.jar

groovy-swing-2.4.1.jar

groovy-templates-2.4.1.jar

groovy-xml-2.4.1.jar

guava-18.0.jar

hadoop-client-1.2.1.jar

hadoop-core-1.2.1.jar

hadoop-gremlin-3.0.1-incubating.jar

hbase-client-0.98.2-hadoop1.jar

hbase-common-0.98.2-hadoop1.jar

hbase-protocol-0.98.2-hadoop1.jar

hibernate-validator-4.3.0.Final.jar

high-scale-lib-1.0.6.jar

high-scale-lib-1.1.2.jar

hppc-0.7.1.jar

hsqldb-1.8.0.10.jar

htrace-core-2.04.jar

http-builder-0.7.jar

httpclient-4.4.1.jar

httpcore-4.4.1.jar

httpmime-4.4.1.jar

ivy-2.3.0.jar

jackson-annotations-2.3.0.jar

jackson-core-2.3.0.jar

jackson-core-asl-1.9.2.jar

jackson-databind-2.3.0.jar

jackson-datatype-json-org-2.3.0.jar

jackson-jaxrs-1.9.2.jar

jackson-mapper-asl-1.9.2.jar

jackson-xc-1.9.2.jar

jamm-0.3.0.jar

jasper-compiler-5.5.23.jar

jasper-runtime-5.5.23.jar

javassist-3.18.0-GA.jar

javatuples-1.2.jar

javax.activation-1.1.0.v201105071233.jar

javax.inject-1.jar

javax.json-1.0.jar

javax.mail.glassfish-1.4.1.v201005082020.jar

javax.servlet-3.0.0.v201112011016.jar

javax.transaction-1.1.1.v201105210645.jar

jaxb-api-2.2.2.jar

jaxb-impl-2.2.3-1.jar

jbcrypt-0.3m.jar

jboss-logging-3.1.2.GA.jar

jcabi-log-0.14.jar

jcabi-manifests-1.1.jar

jcl-over-slf4j-1.7.12.jar

je-5.0.73.jar

jersey-core-1.18.2.jar

jersey-json-1.18.2.jar

jersey-server-1.18.2.jar

jets3t-0.7.1.jar

jettison-1.3.3.jar

jetty-6.1.26.jar

jetty-continuation-8.1.14.v20131031.jar

jetty-http-8.1.14.v20131031.jar

jetty-io-8.1.14.v20131031.jar

jetty-jndi-8.1.14.v20131031.jar

jetty-plus-8.1.14.v20131031.jar

jetty-security-8.1.14.v20131031.jar

jetty-server-8.1.14.v20131031.jar

jetty-servlet-8.1.14.v20131031.jar

jetty-util-6.1.26.jar

jetty-util-8.1.14.v20131031.jar

jetty-webapp-8.1.14.v20131031.jar

jetty-xml-8.1.14.v20131031.jar

jline-2.11.jar

jna-4.0.0.jar

joda-time-1.6.2.jar

json-20090211.jar

json-lib-2.3-jdk15.jar

json-simple-1.1.jar

json4s-ast_2.10-3.2.10.jar

json4s-core_2.10-3.2.10.jar

json4s-jackson_2.10-3.2.10.jar

jsp-2.1-6.1.14.jar

jsp-api-2.0.jar

jsp-api-2.1-6.1.14.jar

jsr305-3.0.0.jar

jts-1.13.jar

jul-to-slf4j-1.7.5.jar

junit-benchmarks-0.7.0.jar

kryo-2.21.jar

libthrift-0.9.0.jar

log4j-1.2.16.jar

logback-classic-1.1.2.jar

logback-core-1.1.2.jar

lucene-analyzers-common-4.10.4.jar

lucene-core-4.10.4.jar

lucene-grouping-4.10.4.jar

lucene-highlighter-4.10.4.jar

lucene-join-4.10.4.jar

lucene-memory-4.10.4.jar

lucene-misc-4.10.4.jar

lucene-queries-4.10.4.jar

lucene-queryparser-4.10.4.jar

lucene-sandbox-4.10.4.jar

lucene-spatial-4.10.4.jar

lucene-suggest-4.10.4.jar

lz4-1.2.0.jar

mesos-0.18.1-shaded-protobuf.jar

metrics-core-2.1.2.jar

metrics-core-3.0.1.jar

metrics-ganglia-3.0.1.jar

metrics-graphite-3.0.1.jar

metrics-json-3.0.0.jar

metrics-jvm-3.0.0.jar

minlog-1.2.jar

nekohtml-1.9.16.jar

netty-3.6.6.Final.jar

netty-all-4.0.25.Final.jar

noggit-0.6.jar

objenesis-2.1.jar

org.apache.servicemix.bundles.commons-csv-1.0-r706900_3.jar

oro-2.0.8.jar

paranamer-2.6.jar

protobuf-java-2.5.0-spark.jar

protobuf-java-2.5.0.jar

py4j-0.8.2.1.jar

pyrolite-2.0.1.jar

randomizedtesting-runner-2.0.8.jar

reflectasm-1.07-shaded.jar

reflections-0.9.9-RC1.jar

reporter-config-2.1.0.jar

scala-compiler-2.10.0.jar

scala-library-2.10.3.jar

scala-reflect-2.10.0.jar

scalap-2.10.0.jar

servlet-api-2.5-20081211.jar

servlet-api-2.5-6.1.14.jar

servlet-api-2.5.jar

sesame-model-2.7.10.jar

sesame-rio-api-2.7.10.jar

sesame-rio-datatypes-2.7.10.jar

sesame-rio-languages-2.7.10.jar

sesame-rio-n3-2.7.10.jar

sesame-rio-ntriples-2.7.10.jar

sesame-rio-rdfxml-2.7.10.jar

sesame-rio-trig-2.7.10.jar

sesame-rio-trix-2.7.10.jar

sesame-rio-turtle-2.7.10.jar

sesame-util-2.7.10.jar

slf4j-api-1.7.5.jar

slf4j-log4j12-1.7.5.jar

snakeyaml-1.11.jar

snappy-java-1.0.5-M3.jar

solr-solrj-5.2.1.jar

spark-core_2.10-1.2.1.jar

spark-network-common_2.10-1.2.1.jar

spark-network-shuffle_2.10-1.2.1.jar

spatial4j-0.4.1.jar

stax-api-1.0-2.jar

stax2-api-3.1.4.jar

stream-2.7.0.jar

stringtemplate-3.2.jar

super-csv-2.1.0.jar

tachyon-0.5.0.jar

tachyon-client-0.5.0.jar

thrift-server-0.3.7.jar

tinkergraph-gremlin-3.0.1-incubating.jar

titan-all-1.0.0.jar

titan-berkeleyje-1.0.0.jar

titan-cassandra-1.0.0.jar

titan-core-1.0.0.jar

titan-es-1.0.0.jar

titan-hadoop-1.0.0.jar

titan-hbase-1.0.0.jar

titan-lucene-1.0.0.jar

titan-rexster-0.5.4.jar

titan-solr-1.0.0.jar

uncommons-maths-1.2.2a.jar

unused-1.0.0.jar

uuid-3.2.jar

validation-api-1.0.0.GA.jar

woodstox-core-asl-4.4.1.jar

xercesImpl-2.9.1.jar

xml-apis-1.3.04.jar

xml-resolver-1.2.jar

xmlenc-0.52.jar

zookeeper-3.4.6.jar


I've been breaking my head over this for a very long time. 

Any leads on this will be greatly appreciated.



Sincerely,

/Saha

Jean-Baptiste Musso

unread,
Oct 19, 2016, 5:00:24 AM10/19/16
to aureliu...@googlegroups.com
You can't use Rexster with Titan v1.0.0. You need to use Gremlin server, which replaces Rexster. Gremlin server is part of TinkerPop 3, which is bundled with Titan.

A simple bin/titan.sh start should get you started.
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraphs+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/c231bb52-1d73-40d9-82d3-d2613034fb53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Jean-Baptiste
Reply all
Reply to author
Forward
0 new messages