2014-02-15 5 views
0

나는 titan이있는 초보자입니다.titan- elasticseach 및 com.thinkaurelius.titan.diskstorage.es.ElasticSearchIndex

나는 우분투 12.04를 사용하고 있으며, deb 패키지에서 설치 한 cassandra 2.0과 ES 1.0을 사용하고 있습니다.

나는 titan과 함께 일하도록 ES를 얻으려고합니다.

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.cli[email protected]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.cli[email protected]2e37735d, error [true], resetting 
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [2] handler org.elasticsearch.cli[email protected]62c436b7, error [true], resetting 
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [3] handler org.elasticsearch.cli[email protected]21cccaf3, error [true], resetting 
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [4] handler org.elasticsearch.cli[email protected]597b112, error [true], resetting 
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [5] handler org.elasticsearch.cli[email protected]76088b4b, error [true], resetting 
WARN org.elasticsearch.transport.netty - [Key] Message not fully read (response) for [6] handler org.elasticsearch.cli[email protected]547da7dd, error [true], resetting 
+0

사람들은 gremlin 셸을'root' 사용자로 호출해야합니다. – Kevin

답변

1

타이탄 0.4.2에서 사용하는 버전에 해당하는 ElasticSearch 0.90.5를 사용해야합니다.

타이탄 0.4.2 패키지와 1.2는 있지만 카산드라 2.0은 괜찮습니다.

2

죄송합니다. 문제를 더 신속하게 처리하지 못해 죄송합니다. 오늘 아침에 메일 링리스트에 제안 된 바와 같이, 그 오류는 titan-es-x.y.z.jar을 나타내지 않으므로 종속성 문제가있을 가능성이 큽니다. Titan의 어떤 버전을 다운로드 했습니까? 기능 매트릭스를 참고 : 타이탄 서버 또는 타이탄 전체를 다운로드하지 않는

https://github.com/thinkaurelius/titan/wiki/Downloads#wiki-feature-matrix

당신은 ES는 포장하지 않습니다. 우리는 Titan 0.5의 패키징을 향상시켜보다 쉽게 ​​작업 할 수 있기를 바랍니다.

+0

titan-cassandra-0.4.2.zip은 – Tampa

+0

을 설치 한 버전이므로 titan-all-0.4.2.zip을 다운로드해야합니까? 비록 내가 es와 cassandra embbedded를 원하지 않더라도? – Tampa

+0

글쎄,'titan-es * .jar' (및 그와 관련된 의존성)이 없다면, 당신이보고있는 오류를 얻을 것이므로, 필자가 제안한 패키지 중 하나를 기능 매트릭스에 설명 된대로 다운로드하거나 'titan-es * .jar'가 작동하도록 클래스 패스에 포함시킬 항아리의 올바른 조합을 찾으십시오. –

관련 문제