1
我在CQLsh -3.0中創建了一個表格,並在其中插入了值。Cassandra-CLI中的崩潰
create table users (
Id uuid PRIMARY KEY,
Name varchar,
Age int
);
insert into users(Id, Name, Age) values ('001', 'XYZ', '30');
cqlsh:usertable> select * from users;
id | age | name
--------------------------------------+-----+--------
1381b530-1dd2-11b2-0000-242d50cf1ffd | 30 | XYZ
13816710-1dd2-11b2-0000-242d50cf1ffd | 28 | ABC
13818e20-1dd2-11b2-0000-242d50cf1ffd | 30 | PQR
然而,當我試圖從卡桑德拉-CLI界面中插入新行到這個表,它崩潰:
[[email protected]] use usertable;
Authenticated to keyspace: usertable
[[email protected]]
[[email protected]] set users['005']['name'] = 'MNO';
log4j:WARN No appenders could be found for logger (org.apache.cassandra.config.DatabaseDescriptor).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Cannot locate cassandra.yaml
Fatal configuration error; unable to start server. See log for stacktrace.
有其他人觀察到了類似的行爲? CQLsh 3.0和Cassandra-CLI之間是否存在不兼容?另外,當使用CQLsh規範2.0.0時,我看到類似的結果!
感謝, VS
你在運行什麼版本的Cassandra? –
我正在運行Apache Cassandra 1.1.3。 –
我最近從1.1.5升級到1.1.6,現在cli一直崩潰。 1.1.5系統對我的1.1.6系統運行良好。 –