elasticsearch,snapshot,Node.js,elasticsearch,Snapshot" /> elasticsearch,snapshot,Node.js,elasticsearch,Snapshot" />

Node.js 快照失败的原因:索引不\';t没有主碎片+;[[myindex]]

Node.js 快照失败的原因:索引不\';t没有主碎片+;[[myindex]],node.js,elasticsearch,snapshot,Node.js,elasticsearch,Snapshot,尝试拍摄快照时失败,出现以下错误: { snapshot: { snapshot: '1430395938305_3032015', indices: ['myindex'], state: 'FAILED', reason: 'Indices don\'t haveprimaryshards+[ [ myindex ]] ', start_time: '2015-04-30T12: 12: 18.435Z', start_ti

尝试拍摄快照时失败,出现以下错误:

{
  snapshot: {
    snapshot: '1430395938305_3032015',
    indices: ['myindex'],
    state: 'FAILED',
    reason: 'Indices don\'t haveprimaryshards+[ [
      myindex
    ]]
  ',
  start_time: '2015-04-30T12: 12: 18.435Z',
  start_time_in_millis: 1430395938435,
  end_time: '2015-04-30T12: 12: 18.525Z',
  end_time_in_millis: 1430395938525,
  duration_in_millis: 90,
  failures: [],
  shards: {
    total: 0,
    failed: 0,
    successful: 0
  }
}
}
有人知道它出了什么问题吗

这是我的群集健康

 {
"cluster_name" : "elasticsearch",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 95,
"active_shards" : 95,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 138
}
当我检查集群的运行状况时,以上就是结果

index   shard prirep state      docs   store ip            node  
myindex 2     p      STARTED     340 152.9kb 192.168.0.120 Raman 
myindex 2     r      UNASSIGNED                                  
myindex 0     p      UNASSIGNED                                  
myindex 0     r      UNASSIGNED                                  
myindex 3     p      STARTED     262 166.9kb 192.168.0.120 Raman 
myindex 3     r      UNASSIGNED                                  
myindex 1     p      UNASSIGNED                                  
myindex 1     r      UNASSIGNED                                  
myindex 4     p      STARTED     279 170.4kb 192.168.0.120 Raman 
myindex 4     r      UNASSIGNED 

这是我在执行/u cat/shards/myindex?v时得到的,如果你执行
GET/u cluster/health
你看到了什么?将输出粘贴到帖子中。我现在将其粘贴到有问题的地方?:-)你执行那命令了吗?它的输出看起来和问题中的不一样。对不起。刚才我粘贴了,然后,你看到了,也许你在那些机器上有一些数据,因为它们被停止了,所以根本不可用。