[
https://issues.apache.org/jira/browse/CASSANDRA-18745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758740#comment-17758740
]
Brandon Williams commented on CASSANDRA-18745:
----------------------------------------------
Running from the src directory isn't a problem if C* has been built:
{noformat}
$ ../bin/cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042':
ConnectionRefusedError(111, "Tried connecting to [('127.0.0.1', 9042)]. Last
error: Connection refused")})
{noformat}
I'm not against printing some warning if it can't be imported instead, but will
note this only happens with source that isn't built - binaries and packages
will have a serverversion.py since they include a compiled server.
> cqlsh should warn on server version mismatch
> --------------------------------------------
>
> Key: CASSANDRA-18745
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18745
> Project: Cassandra
> Issue Type: Improvement
> Components: CQL/Interpreter
> Reporter: Brandon Williams
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 3.0.30, 3.11.16, 4.0.12, 4.1.4, 5.0, 5.1
>
>
> When cqlsh is used against a different version of the server than the one
> that it shipped with, it should emit a warning so that users aren't confused
> when some things don't work correctly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]