-1

我正在使用 Elasticsearch 2.1.0 版。我如何知道正在使用的 Curator 版本?在更改设置(副本数)时,我遇到了一个异常:

{
   "error": {
      "root_cause": [
         {
"type": "illegal_argument_exception",
"reason":Can't update [index.number_of_replicas] on closed indices [[.marvel-es-2016.12.12] - can leave index in an unopenable state"
"status": 400
}

有什么线索吗?

4

1 回答 1

3

您可以使用以下命令获取 curator 版本

$ curator --version

我认为您正在尝试将副本设置为处于关闭状态的索引。

打开索引后尝试设置副本。

相关信息可以在这里找到

于 2017-06-29T12:09:53.880 回答