我们最近将现有的Cassandra集群迁移到了DSE,并且正在尝试创建一个启用了solr搜索的新密钥空间。
我们已遵循DataStax Enterprise入门指南@ http://www.datastax.com/documentation/datastax_enterprise/4.5/datastax_enterprise/srch/srchTutCreatTab.html
我们的nodetool status
如下
Datacenter: nephos-1
====================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID Rack
UN 10.129.196.6 578.42 GB 256 21.4% 043a2f6b-af67-433b-82c9-545521840183 r1
UN 10.129.196.21 657.12 GB 256 18.4% 91ef191a-90b3-448e-93fc-b96bc20134b3 r1
UN 10.129.196.4 572.69 GB 256 18.5% 706a78a4-02a0-45b5-91ec-78a1466a5b83 r1
UN 10.129.196.20 633.65 GB 256 23.0% b13c9af9-510b-4c84-994d-e7dd76d70335 r1
UN 10.129.196.5 472.11 GB 256 18.6% ca217361-0390-4eb2-ac09-5303d5f639d0 r1
```
我们的keypace配置如下:
CREATE KEYSPACE nhanes_ks3 WITH replication = {
'class': 'NetworkTopologyStrategy',
'nephos-1': '3'
};
我们得到的具体错误如下:
java.io.IOException: Unavailable shards for ranges: [(-7387413954048418055,-7385338481486867046], (-7968649137587749694,-7963978319820795254], (1313382724605553296,1319385075089218248], (-518923653484422343,-505515211219774468], (4878421572270955033,4914518257072996455], (-844700479033064369,-776944140537025276], (-69308347594152481,-68921876667069098], (4871809831310454903,4876975265107356578], (3271109328123695599,3274195026207869261], (-8483313673665218401,-8454834139936236432], (-3395613676758459575,-3372444966011531863],
根据OpsCenter及以上所有节点均为Saerch - Active
。