I am running C* 2.1.4 on an Ubuntu vagrant VM. When I use OpenJDK 8, C* works fine. However using Oracle JDK 8, I get the errors listed below. I have read that it is not recommended to use Open JDK so I would like to be able to use the Oracle JDK. I am stumped on this issue and haven’t been able to find much help online. If anyone could point me in the right direction it would help a lot.
vagrant@vagrant-ubuntu-wily-64:/specx$ rake cassandra:create /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.1.0/lib/active_support/values/time_zone.rb:285: warning: circular argument reference - now /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-4.1.0/lib/active_record/associations/has_many_association.rb:74: warning: circular argument reference - reflection /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-4.1.0/lib/active_record/associations/has_many_association.rb:78: warning: circular argument reference - reflection /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-4.1.0/lib/active_record/associations/has_many_association.rb:82: warning: circular argument reference - reflection /usr/local/rvm/gems/ruby-2.2.1/gems/activerecord-4.1.0/lib/active_record/associations/has_many_association.rb:101: warning: circular argument reference - reflection Keyspace 'specx_dev' does not exist : Keyspace 'specx_dev' does not exist rake aborted! CassandraMigrations::Errors::UnexistingKeyspaceError: Keyspace specx_dev does not exist. Run rake cassandra:create. /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:30:in `rescue in drop_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:27:in `drop_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:20:in `rescue in create_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:10:in `create_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:15:in `rescue in block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:11:in `block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>' Cassandra::Errors::ConfigurationError: Cannot drop non existing keyspace 'specx_dev'. /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/future.rb:570:in `get' /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/future.rb:363:in `get' /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/session.rb:118:in `execute' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cql-rb-wrapper.rb:69:in `execute' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:63:in `execute' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:28:in `drop_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:20:in `rescue in create_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:10:in `create_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:15:in `rescue in block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:11:in `block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>' Cassandra::Errors::NoHostsAvailable: All attempted hosts failed: 127.0.0.1 (Cassandra::Errors::ServerError: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError) /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/future.rb:570:in `get' /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/future.rb:363:in `get' /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/session.rb:118:in `execute' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cql-rb-wrapper.rb:69:in `execute' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:63:in `execute' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra/keyspace_operations.rb:11:in `create_keyspace!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:15:in `rescue in block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:11:in `block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>' CassandraMigrations::Errors::UnexistingKeyspaceError: Keyspace specx_dev does not exist. Run rake cassandra:create. /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:56:in `rescue in use' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:52:in `use' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:20:in `start!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:12:in `block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>' Cassandra::Errors::InvalidError: Keyspace 'specx_dev' does not exist /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/future.rb:570:in `get' /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/future.rb:363:in `get' /usr/local/rvm/gems/ruby-2.2.1/gems/cassandra-driver-2.1.4/lib/cassandra/cluster.rb:204:in `connect' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cql-rb-wrapper.rb:51:in `use' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:53:in `use' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/cassandra.rb:20:in `start!' /usr/local/rvm/gems/ruby-2.2.1/bundler/gems/cassandra_migrations-f5f35feeb972/lib/cassandra_migrations/railtie/tasks.rake:12:in `block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => cassandra:create (See full trace by running task with --trace) vagrant@vagrant-ubuntu-wily-64:/specx$