index_not_found_exeception。 elassandra

问题描述:

cqlsh> CREATE KEYSPACE twitter WITH REPLICATION = {'class': 'SimpleStrategy','replication_factor':3};index_not_found_exeception。 elassandra

cqlsh> CREATE TABLE twitter.user( 名称文本, ATTRS地图, PRIMARY KEY(名称) );

cqlsh> INSERT INTO twitter.user(name,attrs)VALUES('bob',{'email':'[email protected]','firstname':'bob'});

enter image description here

+0

你必须把索引的问题。 – ugosan

您使用了错误的类在创建密钥空间的时间应该是'NetworkTopologyStrategy'

CREATE KEYSPACE IF NOT EXISTS twitter WITH replication={ 'class':'NetworkTopologyStrategy', 'dc1':'1' }; 

而且chenge数据中心('dc1')的名称赤名使用nodetool status。它是区分大小写的!

在我来说,我使用解决做DC1用于映射的PUT之前insted的的dc1