gpt4 book ai didi

elasticsearch - titan- elasticseach和com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex

转载 作者:行者123 更新时间:2023-12-03 00:43:32 25 4
gpt4 key购买 nike

我是泰坦的新手。

我正在使用ubuntu 12.04并使用从deb软件包安装的cassandra 2.0和ES 1.0。

我试图让ES与titan一起工​​作。

gremlin> g = TitanFactory.open('/var/titan-cassandra-0.4.2/conf/titan-cassandra.properties') 
Could not find implementation class: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex

storage.index.search.backend=elasticsearch
storage.index.search.hostname=127.0.0.1
storage.index.search.cluster-name=elasticsearch
storage.index.search.index-name=titan
storage.index.search.client-only=true
storage.index.search.sniff=false
storage.index.search.local-mode=false

所以..泰坦能干ES吗?

更新...

我现在使用的服务器版本为4.2 titan-server-0.4.2.zip。现在我得到以下内容。
gremlin> g = TitanFactory.open('/var/titan-server-0.4.2/conf/titan-server.properties')
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [0] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@1f6d83b9, error [true], resetting
Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex
Display stack trace? [yN] WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [1] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@2e37735d, error [true], resetting
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [2] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@62c436b7, error [true], resetting
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [3] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@21cccaf3, error [true], resetting
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [4] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@597b112, error [true], resetting
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [5] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@76088b4b, error [true], resetting
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [6] handler org.elasticsearch.client.transport.TransportClientNodesService$SniffNodesSampler$1$1@547da7dd, error [true], resetting

最佳答案

您必须使用ElasticSearch 0.90.5,它与Titan 0.4.2使用的版本相对应。

尽管Titan 0.4.2与1.2一起打包,但Cassandra 2.0还可以。

关于elasticsearch - titan- elasticseach和com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21793567/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com