Code Monkey home page Code Monkey logo

vagrant-cassandra's People

Contributors

bcantoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrant-cassandra's Issues

[Problem] I'm getting NoHostAvailableException when trying to connect to a Cassandra Cluster

So I have followed your tutorials and set up "1.Base" to configure a CassandraDB on a single machine. So far so good. I'm able to use CQLSH, see the Cassandra Service and everything else.

But when I try to run my application, which uses the DataStax driver, I can't connect to my CassandraDB.

I've tried connecting to : localhost, 127.0.0.1, my_vagrant_private_ip, all using 9042 as default port.
Also, I tried telnet on 9160, 9042, didn't work either.

I also did:

  • ufw allow the ports I needed
  • ufw disable (to allow all ports)
  • forwarded the ports on Vagrantfile
  • I can see that the firewall allows those ports
  • Changed rpc_address and listen_address to 0.0.0.0

I don't know what is wrong. Can you please help?

Update Java 8

fantastic resource getting Cassandra up and running almost seamlessly

With some recent updates there are a couple of gotchas with java version so I had to upgrade to OpenJDK 8 in the Vagrantfile

# configure openJDK repo
add-apt-repository ppa:openjdk-r/ppa
apt-get update
# install Java first, then DataStax Community Edition
apt-get install openjdk-8-jdk

Noob question how to connect client on host to cluster on vagrant

I intend to write a nodejs client application which will run on host ( ubuntu ) how do i connect it to cassandra cluster running on vagrant which i p address should i use to connect to cassandra cluster from nodejs client .

Do i have to forward any port from vagrant to host to connect from cassandra nodejs client

Cassandra check for java version fails

Not really a bug of this project, but more of dse itself. As pointed out here the dse installer checks for the presence of java in the wrong way, which is currently failing for the jdk7u101. The fix on the same page above works (commenting out the check in the script).

Reporting this here because I wasted a lot of time trying to solve this, so I hope it can help someone else too (not really sure if this should be addressed in this project, but at least this can help pointing in the right direction).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.