mesosphere / tweeter

A tiny Twitter clone for DC/OS
67 stars 42 forks source link

Cassandra errors #18

Open martinstuder opened 8 years ago

martinstuder commented 8 years ago

I followed the tutorial here to deploy the tweeter app. The app however fails to start due to errors connecting to cassandra. From the tweeter logs:

Cassandra::Errors::InvalidError: unconfigured table schema_columnfamilies
/usr/local/bundle/gems/cassandra-driver-2.1.5/lib/cassandra/cluster/control_connection.rb:812:in `block in send_select_request'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/future.rb:391:in `block in map'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/future.rb:750:in `call_listener'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/future.rb:789:in `block in resolve'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/future.rb:788:in `each'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/future.rb:788:in `resolve'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/future.rb:30:in `fulfill'
/usr/local/bundle/gems/cassandra-driver-2.1.5/lib/cassandra/protocol/cql_protocol_handler.rb:242:in `complete_request'
/usr/local/bundle/gems/cassandra-driver-2.1.5/lib/cassandra/protocol/v3.rb:186:in `actual_decode'
/usr/local/bundle/gems/cassandra-driver-2.1.5/lib/cassandra/protocol/v3.rb:113:in `decode_header'
/usr/local/bundle/gems/cassandra-driver-2.1.5/lib/cassandra/protocol/v3.rb:66:in `<<'
/usr/local/bundle/gems/cassandra-driver-2.1.5/lib/cassandra/protocol/cql_protocol_handler.rb:272:in `receive_data'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/io/base_connection.rb:172:in `read'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/io/io_reactor.rb:517:in `block in tick'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/io/io_reactor.rb:517:in `each'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/io/io_reactor.rb:517:in `tick'
/usr/local/bundle/gems/ione-1.2.3/lib/ione/io/io_reactor.rb:159:in `block in start'
Tasks: TOP => cassandra:setup
(See full trace by running task with --trace)
rake aborted!

Im running on DC/OS 1.8.1 AWS CloudFormation with cassandra package version 1.0.14-3.0.7.

martinstuder commented 8 years ago

I just checked and it works with cassandra package version 1.0.13-2.2.5.

sascala commented 8 years ago

Thanks for the feedback, Martin. I’ll investigate and update the tutorial.

Best, —

Suzanne Scala Technical writer, Mesosphere

On Aug 17, 2016, at 8:01 AM, Martin Studer notifications@github.com wrote:

I just checked and it works with cassandra package version 1.0.13-2.2.5.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mesosphere/tweeter/issues/18#issuecomment-240440132, or mute the thread https://github.com/notifications/unsubscribe-auth/AMuJWcMVwFF4UN8oiIyPwEkpbxsw7aUeks5qgyJJgaJpZM4JmgJ4.