如何知道策展人版本?

How to know the curator version?

我使用的是 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
}

有什么线索吗?

您可以使用以下命令获取策展人版本

$ curator --version

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

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

可以查到相关资料here