curl -XPOST ‘localhost:9200/_cluster/reroute‘ -d ‘{
"commands" : [ {
"allocate" : {
"index" : “indexname",
"shard" : 2,
"node" : "p7hX9aD3STuGUHR-R03UPA",
"allow_primary" : true
}
}
]
}‘
真正的问题显现出来,
[YES(total shard limit disabled: [index: -1, cluster: -1] <= 0)][YES(node passes include/exclude/require filters)][YES(below shard recovery limit of [2])][YES(allocation disabling is ignored)][NO(more than allowed [85.0%] used disk on node, free: [12.726023442766103%])]"},"status":400}
原来是硬盘不够了,哎! 删除日志,问题解决。
ES LockObtainFailedException Can‘t lock shard 处理
原文:http://blog.51cto.com/12597095/2318976