本文介绍了与apache-cassandra-3.2的titan-1.0.0-hadoop1兼容性问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用 apache-cassandra-3.2 连接 titan-1.0.0-hadoop1

我使用以下titan-cassandra-myfile.properties:

I am using following " titan-cassandra-myfile.properties ":

storage.cassandra-config-dir=titan-1.0.0-   hadoop1/conf/cassandra/cassandra.yaml
storage.backend=cassandra
storage.hostname=localhost

当我使用gremlin执行以下命令:

g = TitanFactory.open(/ path to titan / titan-1.0.0-hadoop1 /conf/titan-cassandra-myfile.properties);

When I use gremlin to execute following command:g=TitanFactory.open("/path to titan/ titan-1.0.0-hadoop1/conf/titan-cassandra-myfile.properties");

我收到以下错误:

当我使用 apache-cassandra-1.2.5 titan-all-0.3.1 使用相同的配置时,上述配置

When I use same configurations with apache-cassandra-1.2.5 and titan-all-0.3.1 , the above config works and it creates a graph.

请为此提出一些解决方案,无论是兼容性问题还是我做错了。

Please suggest some solution on this , whether is this a compatibility issue or I am doing something wrong.

感谢,
Laxmikant

Thanks,Laxmikant

推荐答案

Titan 1.0 使用 Cassandra 2.1.9 。我几乎可以肯定,它与 Cassandra 3.x 不兼容,因为有一个存储引擎重写

Titan 1.0 has been released using Cassandra 2.1.9. I'm almost sure that it's not compatible with Cassandra 3.x because there was a storage engine re-write

请参阅:

这篇关于与apache-cassandra-3.2的titan-1.0.0-hadoop1兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 05:32