Re: Cqlsh unable to switch keyspace after Cassandra upgrade.
Yesterday found problem source. It was because of old cassandra-driver for python language. Driver removal and pip install solved the issue. 2017-11-02 20:33 GMT+07:00 Blake Eggleston : > Looks like a bug, could you open a jira? > > > On Nov 2, 2017, at 2:08 AM, Mikhail Tsaplin wrote: > > Hi, > I've upgraded Cassandra from 2.1.6 to 3.0.9 on three nodes cluster. After > upgrade > cqlsh shows following error when trying to run "use {keyspace};" command: > 'ResponseFuture' object has no attribute 'is_schema_agreed' > > Actual upgrade was done on Ubuntu 16.04 by running "apt-get upgrade > cassandra" command. > Apt repository is deb http://debian.datastax.com/community stable main. > Following parameters were migrated from former cassandra.yaml: > cluster_name, num_tokens, data_file_directories, commit_log_directory, > saved_caches_directory, seeds, listen_address, rpc_address, initial_token, > auto_bootstrap. > > Later I did additional test - fetched 3.0.15 binary distribution from > cassandra.apache.org and tried to run cassandra from this distr - same > error: > $ ./bin/cqlsh > Connected to cellwize.cassandra at 172.31.17.42:9042. > [cqlsh 5.0.1 | Cassandra 3.0.15 | CQL spec 3.4.0 | Native protocol v4] > Use HELP for help. > cqlsh> use listener ; > 'ResponseFuture' object has no attribute 'is_schema_agreed' > cqlsh> > > What could be the reason? > >
Re: Cqlsh unable to switch keyspace after Cassandra upgrade.
Looks like a bug, could you open a jira? > On Nov 2, 2017, at 2:08 AM, Mikhail Tsaplin wrote: > > Hi, > I've upgraded Cassandra from 2.1.6 to 3.0.9 on three nodes cluster. After > upgrade > cqlsh shows following error when trying to run "use {keyspace};" command: > 'ResponseFuture' object has no attribute 'is_schema_agreed' > > Actual upgrade was done on Ubuntu 16.04 by running "apt-get upgrade > cassandra" command. > Apt repository is deb http://debian.datastax.com/community stable main. > Following parameters were migrated from former cassandra.yaml: > cluster_name, num_tokens, data_file_directories, commit_log_directory, > saved_caches_directory, seeds, listen_address, rpc_address, initial_token, > auto_bootstrap. > > Later I did additional test - fetched 3.0.15 binary distribution from > cassandra.apache.org and tried to run cassandra from this distr - same error: > $ ./bin/cqlsh > Connected to cellwize.cassandra at 172.31.17.42:9042. > [cqlsh 5.0.1 | Cassandra 3.0.15 | CQL spec 3.4.0 | Native protocol v4] > Use HELP for help. > cqlsh> use listener ; > 'ResponseFuture' object has no attribute 'is_schema_agreed' > cqlsh> > > What could be the reason?
Cqlsh unable to switch keyspace after Cassandra upgrade.
Hi, I've upgraded Cassandra from 2.1.6 to 3.0.9 on three nodes cluster. After upgrade cqlsh shows following error when trying to run "use {keyspace};" command: 'ResponseFuture' object has no attribute 'is_schema_agreed' Actual upgrade was done on Ubuntu 16.04 by running "apt-get upgrade cassandra" command. Apt repository is deb http://debian.datastax.com/community stable main. Following parameters were migrated from former cassandra.yaml: cluster_name, num_tokens, data_file_directories, commit_log_directory, saved_caches_directory, seeds, listen_address, rpc_address, initial_token, auto_bootstrap. Later I did additional test - fetched 3.0.15 binary distribution from cassandra.apache.org and tried to run cassandra from this distr - same error: $ ./bin/cqlsh Connected to cellwize.cassandra at 172.31.17.42:9042. [cqlsh 5.0.1 | Cassandra 3.0.15 | CQL spec 3.4.0 | Native protocol v4] Use HELP for help. cqlsh> use listener ; 'ResponseFuture' object has no attribute 'is_schema_agreed' cqlsh> What could be the reason?