Elasticsearch重新索引错误-客户端请求超时 [英] Elasticsearch reindex error - client request timeout

查看:1603
本文介绍了Elasticsearch重新索引错误-客户端请求超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用以下代码重新编制索引:

I am trying to reindex using following line:

POST _reindex
{
  "source": {
    "index": "poi_201705"
  },
  "dest": {
    "index": "poi_dev_2"
  }
}

但是我在kibana控制台中遇到以下错误:

But I am getting following error in kibana console:

{
  "statusCode": 504,
  "error": "Gateway Time-out",
  "message": "Client request timeout"
}

任何人都可以告诉我这是什么问题,以及如何解决它.

Can anybody tell me what is this issue and how can get rid of it.

推荐答案

504仅表示请求仍在运行,但是从Kibana到ES的HTTP连接超时.

504 simply means that the request is still running but the HTTP connection from Kibana to ES timed out.

您仍然可以通过使用任务管理API来查看正在执行的请求:

You can still see the request going on by using the task management API like this:

GET _tasks?actions=*reindex&detailed

这篇关于Elasticsearch重新索引错误-客户端请求超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆