Dear Alan, and Olivier, from DataStax test engineering,
I am a development Datastax customer, and am currently using DevCenter 1.3.1 for MAC/OS, since 2014.
My goal, is to upgrade to the latest Cassandra, with the latest Datastax tools, and to support Docker with DataStax driver running internally. I can provide more information about my system test, however, wanted to get these basic things out of the way first, by describing the triage scenario here on MACOS with MacOS High Sierra version 10.13.1.
I know I can make all of these issues go away, by reverting back to cassandra version 2.1.5, which works on my system, without any of these errors, however, I would like to move forward here, and need assistance to upgrade. The actions, I took, were an upgrade to use 5.1.5, however I did not see the upgrade to DevCenter, and need to know where the download link is located.
I decided without the DevCenter upgrade, to do a standalone system test, with Docker, to help by debugging connectivity TransportExceptions I was seeing with port 9042 that is bound to 127.0.0.1 with cassandra running inside docker.
I executed this docker script, to get cassandra 3.11.1.
Step1:
docker run --name cassandra -m 2g -p 127.0.0.1:9042:9042 -d cassandra
I then wanted to connect to the cassandra docker image, to see if I can get cqlsh, because I am seeing the same unconfigured table schema keyspaces error in DevCenter 1.3.1
Step2:
docker exec -it cassandra cqlsh 172.17.0.2
[cqlsh 5.0.1 | Cassandra 3.11.1 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
cqlsh> SELECT * FROM system.schema_keyspaces;
InvalidRequest: Error from server: code=2200 [Invalid query] message="unconfigured table schema_keyspaces"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named cassandra"
I have a couple of questions here:
1. Is there an upgraded version of DevCenter that I can get for MACOS that addresses and solves these problems?
2. Do I really need the Python interpreter, I don’t really see why, since the error I am seeing is part of the cqsl interpreter "InvalidRequest: Error from server: code=2200 [Invalid query] message="unconfigured table schema_keyspaces””.
3. Why am I seeing this error when in Cassandra 2.1.x I was not seeing this error at all previously?
The problem I am seeing in DevCenter in addition is, "The specified host(s) could not be reached.
[/
172.17.0.2:9042] Cannot connect”, and I see the same problem within a SpringBoot app inside Docker with Datastax driver.
Basically, I need to get to the root of the issue here with DevCenter and CQLSH, since these issues, are fairly basic, and have to do with the installation and compatibility with Cassandra, and Datastax DevCenter. I also am seeing the errors, from the CQLSH command line, which tells me this has more to do with Cassandra 3.11.1.
Please advise.
—
Henry Hottelet
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by Henry Hottelet
as applicable, for any loss or damage arising in any way from its use.
If you received this transmission in error, please immediately contact
the sender and destroy the material in its entirety, whether in
electronic or hard copy format. Thank you.