1
CQLsh -3.0에서 테이블을 만들고 값을 삽입했습니다. 나는 카산드라 - CLI 인터페이스에서이 테이블에 새로운 행을 삽입하려고 할 때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
그러나, 그것은 충돌 :
이[[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 spec 2.0.0을 사용할 때 비슷한 결과가 나타납니다!
감사합니다, VS
실행중인 Cassandra의 버전은 무엇입니까? –
Apache Cassandra 1.1.3을 실행하고 있습니다. –
최근에 1.1.5에서 1.1.6으로 업그레이드되었고 이제는 cli가 항상 중단됩니다. 1.1.5 cli는 내 1.1.6 시스템에 잘 작동합니다. –