Skip to content

Instantly share code, notes, and snippets.

@galderz
Created May 26, 2011 14:58
Show Gist options
  • Select an option

  • Save galderz/993317 to your computer and use it in GitHub Desktop.

Select an option

Save galderz/993317 to your computer and use it in GitHub Desktop.
org.apache.thrift.TException: org.apache.thrift.TException: [Cassandra Connection Pool[1-96507428]] Could not connect to any hosts
at net.dataforte.cassandra.pool.ConnectionPool.init(ConnectionPool.java:345)
at net.dataforte.cassandra.pool.ConnectionPool.<init>(ConnectionPool.java:127)
at net.dataforte.cassandra.pool.DataSourceProxy.createPool(DataSourceProxy.java:61)
at net.dataforte.cassandra.pool.DataSourceProxy.getConnection(DataSourceProxy.java:68)
at org.infinispan.loaders.cassandra.CassandraCacheStore.purgeInternal(CassandraCacheStore.java:445)
at org.infinispan.loaders.cassandra.CassandraCacheStore.start(CassandraCacheStore.java:137)
at org.infinispan.loaders.cassandra.CassandraCacheStoreTest.createCacheStore(CassandraCacheStoreTest.java:66)
at org.infinispan.loaders.BaseCacheStoreTest.setUp(BaseCacheStoreTest.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:443)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:160)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:494)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
at org.testng.TestRunner.runWorkers(TestRunner.java:909)
at org.testng.TestRunner.privateRun(TestRunner.java:618)
at org.testng.TestRunner.run(TestRunner.java:499)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
at org.testng.SuiteRunner.run(SuiteRunner.java:204)
at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:915)
at org.testng.TestNG.runSuitesLocally(TestNG.java:879)
at org.testng.TestNG.run(TestNG.java:787)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:102)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
Caused by: org.apache.thrift.TException: [Cassandra Connection Pool[1-96507428]] Could not connect to any hosts
at net.dataforte.cassandra.pool.PooledConnection.connect(PooledConnection.java:155)
at net.dataforte.cassandra.pool.ConnectionPool.createConnection(ConnectionPool.java:566)
at net.dataforte.cassandra.pool.ConnectionPool.borrowConnection(ConnectionPool.java:498)
at net.dataforte.cassandra.pool.ConnectionPool.init(ConnectionPool.java:337)
... 38 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment