SELECT data_center, rack, host_id, tokens, release_version FROM system.local WHERE key='local'
Enter code here...&gocql.Iter{err:error(nil), pos:0, meta:gocql.resultMetadata{flags:1, pagingState:[]uint8(nil), columns:[]gocql.ColumnInfo{gocql.ColumnInfo{Keyspace:"system", Table:"local", Name:"data_center", TypeInfo:gocql.NativeType{proto:0x3, typ:13, custom:""}}, gocql.ColumnInfo{Keyspace:"system", Table:"local", Name:"rack", TypeInfo:gocql.NativeType{proto:0x3, typ:13, custom:""}}, gocql.ColumnInfo{Keyspace:"system", Table:"local", Name:"host_id", TypeInfo:gocql.NativeType{proto:0x3, typ:12, custom:""}}, gocql.ColumnInfo{Keyspace:"system", Table:"local", Name:"tokens", TypeInfo:gocql.CollectionType{NativeType:gocql.NativeType{proto:0x3, typ:34, custom:""}, Key:gocql.TypeInfo(nil), Elem:gocql.NativeType{proto:0x3, typ:13, custom:""}}}, gocql.ColumnInfo{Keyspace:"system", Table:"local", Name:"release_version", TypeInfo:gocql.NativeType{proto:0x3, typ:13, custom:""}}}, colCount:5, actualColCount:5}, numRows:1, next:(*gocql.nextIter)(nil), host:(*gocql.HostInfo)(nil), framer:(*gocql.framer)(0xc8200d80b0), once:sync.Once{m:sync.Mutex{state:0, sema:0x0}, done:0x0}}&gocql.Iter{err:error(nil), pos:0, meta:gocql.resultMetadata{flags:4, pagingState:[]uint8(nil), columns:[]gocql.ColumnInfo(nil), colCount:0, actualColCount:0}, numRows:1, next:(*gocql.nextIter)(nil), host:(*gocql.HostInfo)(nil), framer:(*gocql.framer)(0xc820094370), once:sync.Once{m:sync.Mutex{state:0, sema:0x0}, done:0x0}}
Hello,Has anybody tried this driver ? https://github.com/gocql/gocql.
--
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/9dbe5f73-2472-41f3-a3d7-e37d2e4b9dec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAKUaUn6LrJ3CKoH9A38j3iggnqEH-NNZdDG_Z7QOx7QAD0DyDg%40mail.gmail.com.
sudo docker run -p 9042:9042 -i -t scylladb/scyllaEAL: Detected lcore 0 as core 0 on socket 0EAL: Detected lcore 1 as core 0 on socket 0EAL: Detected lcore 2 as core 1 on socket 0EAL: Detected lcore 3 as core 1 on socket 0EAL: Support maximum 128 logical core(s) by configuration.EAL: Detected 4 lcore(s)EAL: VFIO modules not all loaded, skip VFIO support...EAL: Setting up physically contiguous memory...EAL: TSC frequency is ~2491912 KHzEAL: Master lcore 0 is ready (tid=ec46a5c0;cpuset=[0])EAL: lcore 1 is ready (tid=dfc9e700;cpuset=[1])EAL: lcore 3 is ready (tid=dec9c700;cpuset=[3])EAL: lcore 2 is ready (tid=df49d700;cpuset=[2])Scylla version 0.17-20160208.b2eb081 starting ...Scylla API server listening on 127.0.0.1:10000 ...Starting listening for CQL clients on 172.17.0.2:9042..~/software/cassandra/bin/cqlsh 127.0.0.1 -e "SELECT data_center, rack, host_id, tokens, release_version FROM system.local WHERE key='local'
> "
data_center | rack | host_id | tokens Can you please also provide the info on how you start the scylla docker imagework for meStarting scylla docker using the http://www.scylladb.com/doc/getting-started/ instructions (e.g. docker run -p $(hostname -i):9042:9042 -i -t scylladb/scylla)does make
~/cassandra/bin/cqlsh 127.0.0.1 -e "SELECT data_center, rack, host_id, tokens, release_version FROM system.local WHERE key='local'"
sudo docker run -p 9042:9042 -i -t scylladb/scyllaEAL: Detected lcore 0 as core 0 on socket 0EAL: Detected lcore 1 as core 0 on socket 0EAL: Detected lcore 2 as core 1 on socket 0EAL: Detected lcore 3 as core 1 on socket 0EAL: Support maximum 128 logical core(s) by configuration.EAL: Detected 4 lcore(s)EAL: VFIO modules not all loaded, skip VFIO support...EAL: Setting up physically contiguous memory...EAL: TSC frequency is ~2491912 KHzEAL: Master lcore 0 is ready (tid=ec46a5c0;cpuset=[0])EAL: lcore 1 is ready (tid=dfc9e700;cpuset=[1])EAL: lcore 3 is ready (tid=dec9c700;cpuset=[3])EAL: lcore 2 is ready (tid=df49d700;cpuset=[2])Scylla version 0.17-20160208.b2eb081 starting ...Scylla API server listening on 127.0.0.1:10000 ...Starting listening for CQL clients on 172.17.0.2:9042..To view this discussion on the web visit https://groups.google.com/d/msgid/scylladb-users/CAD-J%3DzYZCAwVrZN1OVCWtJKubmpjiKf5toN5Gsddx6p_EZRXig%40mail.gmail.com.
--
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/4fcb0d38-e2b4-415b-8651-6cf7fd47d9a4%40googlegroups.com.
--
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/dc7d363a-ffcd-4b36-a3a3-81e21473a69a%40googlegroups.com.
Hi Kishorekumar, morpheyeshThanks for letting us knowThe only significant change I see in the PR[1] is:- hosts, _, err = s.hostSource.GetHosts()+ hosts = s.hostSource.session.ring.allHosts()Is it the case?
Any idea why the original version worked with C* and not in Scylla?