我试图用以下代码将Tital连接到这个Cassandra:
TitanGraph graph = TitanFactory.build()
.set("storage.backend","cassandra")
.set("storage.hostname","127.0.0.1")
.open();
错误
:
未实例化实现:
在
在
com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:473)
com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:407)
graphdb.configuration.GraphDatabaseConfiguration.(GraphDatabaseConfiguration.java:1320)
com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94)
在
com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:84)
在
com.thinkaurelius.titan.core.TitanFactory$Builder.open(TitanFactory.java:139)
原因:java.lang.reflect。InvocationTargetException位于
在
在
位于java.lang.reflect.Constructor.newInstance(Constructor.java:423)
在
thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:44)
com.thinkaurelius.titan.diskstorage.TemporaryBackendException:
位于的存储后端出现临时故障
com.thinkaurelius.titan.diskstorage.cassandra.astyanax.astyanaxstoremanar.(astyanaxstoremanar.java:291)
com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException:
延迟=10003(10003),尝试=1]在等待连接时超时
com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.waitForConnection(SimpleHostConnectionPool.java:231)
com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.borrowConnection(SimpleHostConnectionPool.java:198)
netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryoOperation(AbstractExecuteWithFailoverImpl.java:117)
netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
在
在
ThriftClusterImpl.internalCreateKeyspace(ThriftClusterImpl.java:321)
ThriftClusterImpl.addKeyspace(ThriftClusterImpl.java:294)
在
com.thinkaurelius.titan.diskstorage.cassandra.astyanax.astyanaxstoremanar.ensure密钥空间存在(astyanaxstoremanar.java:567)
…13个以上