bcantoni / vagrant-cassandra Goto Github PK
View Code? Open in Web Editor NEWVagrant templates for local development and learning DataStax Enterprise and the Cassandra database system
License: Apache License 2.0
Vagrant templates for local development and learning DataStax Enterprise and the Cassandra database system
License: Apache License 2.0
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:
I don't know what is wrong. Can you please help?
I am trying Step2 but when I log in it says that the service is not there. Should I go trough Step1 first?
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
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
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.