Skip to content

Instantly share code, notes, and snippets.

@jsteggink
Created January 3, 2017 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsteggink/6a8edafc25f3a57060a8d322c7b04c1b to your computer and use it in GitHub Desktop.
Save jsteggink/6a8edafc25f3a57060a8d322c7b04c1b to your computer and use it in GitHub Desktop.
16:59:14.563 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - About to instantiate class public com.netflix.astyanax.connectionpool.impl.FixedRetryBackoffStrategy(int,int) with 2 arguments
16:59:14.577 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - Instantiated RetryBackoffStrategy object com.netflix.astyanax.connectionpool.impl.FixedRetryBackoffStrategy@22ef9844 from config string "com.netflix.astyanax.connectionpool.impl.FixedRetryBackoffStrategy,1000,5000"
16:59:14.590 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - About to instantiate class public com.netflix.astyanax.retry.BoundedExponentialBackoff(long,long,int) with 3 arguments
16:59:14.590 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - Instantiated RetryPolicy object com.netflix.astyanax.retry.BoundedExponentialBackoff@e15b7e8[maxSleepTimeMs=25000,MAX_SHIFT=30,random=java.util.Random@43dac38f,baseSleepTimeMs=100,maxAttempts=8,attempts=0] from config string "com.netflix.astyanax.retry.BoundedExponentialBackoff,100,25000,8"
16:59:14.654 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - Custom RetryBackoffStrategy com.netflix.astyanax.connectionpool.impl.FixedRetryBackoffStrategy@22ef9844
16:59:15.865 [main] INFO com.netflix.astyanax.connectionpool.impl.ConnectionPoolMBeanManager - Registering mbean: com.netflix.MonitoredResources:type=ASTYANAX,name=ClusterTitanConnectionPool,ServiceType=connectionpool
16:59:15.912 [main] INFO com.netflix.astyanax.connectionpool.impl.CountingConnectionPoolMonitor - AddHost: 127.0.0.1
16:59:17.025 [pool-4-thread-1] DEBUG com.netflix.astyanax.thrift.ThriftConverter - java.net.ConnectException: Connection refused: connect
16:59:25.982 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - Failed to describe keyspace family
16:59:25.983 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - Creating keyspace family...
16:59:27.068 [pool-4-thread-1] DEBUG com.netflix.astyanax.thrift.ThriftConverter - java.net.ConnectException: Connection refused: connect
16:59:36.069 [main] DEBUG com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager - Failed to create keyspace family
Exception in thread "main" java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:55)
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:473)
at com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:407)
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1325)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:84)
at com.thinkaurelius.titan.core.TitanFactory$Builder.open(TitanFactory.java:139)
at ai.grakn.factory.TitanInternalFactory.configureGraph(TitanInternalFactory.java:104)
at ai.grakn.factory.TitanInternalFactory.newTitanGraph(TitanInternalFactory.java:78)
at ai.grakn.factory.TitanInternalFactory.buildTinkerPopGraph(TitanInternalFactory.java:74)
at ai.grakn.factory.TitanInternalFactory.buildTinkerPopGraph(TitanInternalFactory.java:46)
at ai.grakn.factory.AbstractInternalFactory.getTinkerPopGraph(AbstractInternalFactory.java:132)
at ai.grakn.factory.AbstractInternalFactory.getTinkerPopGraph(AbstractInternalFactory.java:126)
at ai.grakn.factory.AbstractInternalFactory.getGraph(AbstractInternalFactory.java:98)
at ai.grakn.factory.AbstractInternalFactory.getGraph(AbstractInternalFactory.java:71)
at ai.grakn.factory.AbstractInternalFactory.getGraph(AbstractInternalFactory.java:26)
at ai.grakn.factory.GraknGraphFactoryPersistent.getGraph(GraknGraphFactoryPersistent.java:60)
at Main.main(Main.java:29)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.thinkaurelius.titan.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:44)
... 17 more
Caused by: com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Temporary failure in storage backend
at com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:580)
at com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager.<init>(AstyanaxStoreManager.java:291)
... 22 more
Caused by: com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException: PoolTimeoutException: [host=127.0.0.1(127.0.0.1):9160, latency=10002(10002), attempts=1]Timed out waiting for connection
at com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.waitForConnection(SimpleHostConnectionPool.java:231)
at com.netflix.astyanax.connectionpool.impl.SimpleHostConnectionPool.borrowConnection(SimpleHostConnectionPool.java:198)
at com.netflix.astyanax.connectionpool.impl.RoundRobinExecuteWithFailover.borrowConnection(RoundRobinExecuteWithFailover.java:84)
at com.netflix.astyanax.connectionpool.impl.AbstractExecuteWithFailoverImpl.tryOperation(AbstractExecuteWithFailoverImpl.java:117)
at com.netflix.astyanax.connectionpool.impl.AbstractHostPartitionConnectionPool.executeWithFailover(AbstractHostPartitionConnectionPool.java:352)
at com.netflix.astyanax.thrift.ThriftClusterImpl.executeSchemaChangeOperation(ThriftClusterImpl.java:146)
at com.netflix.astyanax.thrift.ThriftClusterImpl.internalCreateKeyspace(ThriftClusterImpl.java:321)
at com.netflix.astyanax.thrift.ThriftClusterImpl.addKeyspace(ThriftClusterImpl.java:294)
at com.thinkaurelius.titan.diskstorage.cassandra.astyanax.AstyanaxStoreManager.ensureKeyspaceExists(AstyanaxStoreManager.java:575)
... 23 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment