Cassandra错误总结,cassandra总结
错误:Cassandra关闭后,重启,提示,7199端口被占用,分析原因是关闭时使用的ctrl+c,实际上并没有关闭cassandra服务进程,所以提示端口已被使用;
解决:
错误:
Connection error: (‘Unable to connect to any servers’, {‘127.0.0.1’: ProtocolError(“cql_version ‘3.3.0’ is not supported by remote (w/ native protocol). Supported versions: [u’3.3.1’]”,)})
解决:
修改cassandra_home/bin/cqlsh.py:
DEFAULT_CQLVER = ‘3.3.0’为DEFAULT_CQLVER = ‘3.3.1’;
错误:
message: ‘All host(s) tried for query failed. First host tried, 127.0.0.1:9042: Error: connect ECONNREFUSED 127.0.0.1:9042. See innerErrors.’ }
解决:
修改cassandra_home/conf/cassandra.yaml:
start_native_transport=false改为start_native_transport=true;
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。