Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

problem running cmb 2.2.45 with datastax enterprise 4.7.0 #45

Open
yeiniel opened this issue Jun 30, 2015 · 5 comments
Open

problem running cmb 2.2.45 with datastax enterprise 4.7.0 #45

yeiniel opened this issue Jun 30, 2015 · 5 comments

Comments

@yeiniel
Copy link

yeiniel commented Jun 30, 2015

Hello everyone

I where trying to run cmb 2.2.45 on top of datastax enterprise 4.7.0 and this error messages came out every time y run the cmb.sh command line script:

2015-06-30 10:12:20,587 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO ConnectionPoolMBeanManager - Registering mbean: com.netflix.MonitoredResources:type=ASTYANAX,name=CMBAstyananxConnectionPool,ServiceType=connectionpool
2015-06-30 10:12:20,605 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CountingConnectionPoolMonitor - AddHost: 192.168.1.217
2015-06-30 10:12:20,667 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CountingConnectionPoolMonitor - RemoveHost: 192.168.1.217
2015-06-30 10:12:20,763 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CountingConnectionPoolMonitor - AddHost: 192.168.1.217
2015-06-30 10:12:20,765 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CountingConnectionPoolMonitor - RemoveHost: 192.168.1.217
2015-06-30 10:12:20,768 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CountingConnectionPoolMonitor - AddHost: 192.168.1.217
2015-06-30 10:12:20,778 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CountingConnectionPoolMonitor - RemoveHost: 192.168.1.217
2015-06-30 10:12:20,780 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] INFO CQSControllerServlet - event=ping version=2.2.45 ip=127.0.1.1 port=6059
2015-06-30 10:12:21,019 [main] [b27b0f1e-1df1-472d-a81e-305862b698d9] WARN CQSControllerServlet - event=ping_failed
com.comcast.cmb.common.util.PersistenceException: NoAvailableHostsException: [host=None(0.0.0.0):0, latency=0(0), attempts=0]No hosts to borrow from
at com.comcast.cmb.common.persistence.CassandraAstyanaxPersistence.insertRow(CassandraAstyanaxPersistence.java:646)
at com.comcast.cqs.controller.CQSControllerServlet.writeHeartBeat(CQSControllerServlet.java:188)
at com.comcast.cmb.common.controller.CMB.main(CMB.java:81)

I know the message says cassandra is not available but i try making ping to the cassandra server and it work and accesing the port configured in cmb using telnet and it was open.
Is this a compatibility problem? Did anyone has run on this issue before?
I hope you can help me
Have a good day

@boriwo
Copy link
Collaborator

boriwo commented Jul 1, 2015

We have successfully tested CMB with the community version of Cassandra up to version 2.1.7. I know CMB used to work in the past with earlier versions of Datastax Enterprise but we haven't tried recently. The error message you see does sound like a configuration issue rather than a fundamental issue with the Datastax edition. Have you used earlier versions of CMB with Datastax Enterprise?

@yeiniel
Copy link
Author

yeiniel commented Jul 2, 2015

No we have not use previous versions of CMB with DSE. In the past we have always used CMB with the Datastax Comunity Edition.

@cjcurts
Copy link

cjcurts commented Aug 18, 2015

The CMB contains an example schema for cassandra 12. Is there an updated schema for Cassandra 21 or Cassandra 22? Or can the 1.2 schema work effectively?

Thanks
Chris

@boriwo
Copy link
Collaborator

boriwo commented Aug 18, 2015

We tested the latest version of the schema (1.2) with Cassandra version 2.0.X and I would expect it to work with Cassandra 2.1/2.2 as well.

@Vermillionaire
Copy link

I've encountered some very similar issues to this. In the newer versions of Cassandra it appears that thrift is disabled by default, so the cmb cannot connect to it. The solution to this is to run nodetool enablethrift while Cassandra is running. This solved my connection issues. Hope this helps anyone running into similar issues!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants