Docker-compose combining scylladb and cassandra

708 views
Skip to first unread message

juliangamble@gmail.com

<juliangamble@gmail.com>
unread,
Mar 22, 2017, 8:04:39 AM3/22/17
to ScyllaDB users
Hi Everyone, 

I'm a long time cassandra user - and am entering the world of Scylladb. 

I'm exploring the idea that ScyllaDB is fully compatible with cassandra. (Perhaps there are some caveats I need to read. 

In theory you should be able to start up a docker-compose arrangement with both scylladb and cassandra nodes and have them gossip over a common network. 

I've got the following docker-compose.yml file

    version: '2'
    services:
      scylla-server:
        image: 'scylladb/scylla:1.6.2'
        container_name: scylla-server
        environment:
          - CASSANDRA_SEEDS=scylla-server
        ports:
          - '7000:7000'
          - '7001:7001'
          - '7199:7199'
          - '9042:9042'
          - '9160:9160'
        volumes:
          - 'cassandra_data:/data/cassandra'
      cassandra-utils:
        image: 'cassandra:3.10'
        container_name: cassandra-utils
        environment:
          - CASSANDRA_SEEDS=scylla-server
        links:
          - scylla-server
        ports:
          - '7003:7000'
          - '7004:7001'
          - '8002:7199'
          - '9045:9042'
          - '9163:9160'
    volumes:
      cassandra_data:
        driver: local


and am running

    docker-compose up
    docker exec -it scylla-server nodetool status
    docker logs cassandra-utils

What I'm seeing is that the cassandra-utils container dies with the error

    unable to gossip with any seeds

Are my expectations incorrect somewhere? Am I looking at incompatible versions of cassandra?

Thanks in advance to this awesome community. 

Cheers
Julian

Glauber Costa

<glauber@scylladb.com>
unread,
Mar 22, 2017, 8:57:58 AM3/22/17
to ScyllaDB users
On Wed, Mar 22, 2017 at 8:04 AM, <julian...@gmail.com> wrote:
> Hi Everyone,
>
> I'm a long time cassandra user - and am entering the world of Scylladb.
>
> I'm exploring the idea that ScyllaDB is fully compatible with cassandra.
> (Perhaps there are some caveats I need to read.
>
> In theory you should be able to start up a docker-compose arrangement with
> both scylladb and cassandra nodes and have them gossip over a common
> network.
>
Scylla is tool-compatible with Cassandra, but the inter-node protocols
are different. So mixed clusters are not supported.
> --
> You received this message because you are subscribed to the Google Groups
> "ScyllaDB users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scylladb-user...@googlegroups.com.
> To post to this group, send email to scyllad...@googlegroups.com.
> Visit this group at https://groups.google.com/group/scylladb-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/scylladb-users/b8bc5dc8-07f6-45a3-9ca0-a39eee9fa44f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages