graph - NoAvailableHostsException while starting Titan with Cassandra -


i have configured cassandra-1.2.2 in cluster mode. while starting titan cassandra configuration, showing following exception

exception in thread "main" java.lang.illegalargumentexception: not instantiate implementation: com.thinkaurelius.titan.diskstorage.cassandra.astyanax.astyanaxstoremanager     @ com.thinkaurelius.titan.diskstorage.backend.getimplementationclass(backend.java:268)     @ com.thinkaurelius.titan.diskstorage.backend.getstoragemanager(backend.java:226)     @ com.thinkaurelius.titan.diskstorage.backend.<init>(backend.java:97)     @ com.thinkaurelius.titan.graphdb.configuration.graphdatabaseconfiguration.getbackend(graphdatabaseconfiguration.java:406)     @ com.thinkaurelius.titan.graphdb.database.standardtitangraph.<init>(standardtitangraph.java:62)     @ com.thinkaurelius.titan.core.titanfactory.open(titanfactory.java:40)     @ com.thinkaurelius.titan.tinkerpop.rexster.rexstertitanserver.start(rexstertitanserver.java:70)     @ com.thinkaurelius.titan.tinkerpop.rexster.rexstertitanserver.startdaemon(rexstertitanserver.java:80)     @ com.thinkaurelius.titan.tinkerpop.rexster.rexstertitanserver.main(rexstertitanserver.java:118) caused by: java.lang.reflect.invocationtargetexception     @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39)     @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27)     @ java.lang.reflect.constructor.newinstance(constructor.java:513)     @ com.thinkaurelius.titan.diskstorage.backend.getimplementationclass(backend.java:257)     ... 8 more caused by: com.thinkaurelius.titan.diskstorage.temporarystorageexception: temporary failure in storage backend     @ com.thinkaurelius.titan.diskstorage.cassandra.astyanax.astyanaxstoremanager.ensurekeyspaceexists(astyanaxstoremanager.java:394)     @ com.thinkaurelius.titan.diskstorage.cassandra.astyanax.astyanaxstoremanager.<init>(astyanaxstoremanager.java:164)     ... 13 more caused by: com.netflix.astyanax.connectionpool.exceptions.noavailablehostsexception: noavailablehostsexception: [host=none(0.0.0.0):0, latency=0(0), attempts=0] no hosts borrow     @ com.netflix.astyanax.connectionpool.impl.roundrobinexecutewithfailover.<init>(roundrobinexecutewithfailover.java:31)     @ com.netflix.astyanax.connectionpool.impl.tokenawareconnectionpoolimpl.newexecutewithfailover(tokenawareconnectionpoolimpl.java:74)     @ com.netflix.astyanax.connectionpool.impl.abstracthostpartitionconnectionpool.executewithfailover(abstracthostpartitionconnectionpool.java:229)     @ com.netflix.astyanax.thrift.thriftclusterimpl.executeschemachangeoperation(thriftclusterimpl.java:131)     @ com.netflix.astyanax.thrift.thriftclusterimpl.addkeyspace(thriftclusterimpl.java:252)     @ com.thinkaurelius.titan.diskstorage.cassandra.astyanax.astyanaxstoremanager.ensurekeyspaceexists(astyanaxstoremanager.java:389)     ... 14 more 

please find wrong with?

sometimes there astyanax connections issues on aws. if running on aws, try changing configuration to:

storage.backend = cassandrathrift 

Comments

Post a Comment

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -