当我尝试拍摄快照时,它失败并出现以下错误:
{
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
当我执行/ _cat / shards / myindex?v
时,我得到了这个