When trying to duplicate an index by the _reindex command, it always gets an error saying "502, Bad Gateway" and "Client request timeout".
However, the command GET _cat/indices/_all shows, right after the above error, that the destination index exists.
We noticed that the resulted destination index is slightly different in size compared with the source index. The difference was 158.8mb vs. 149.5mb.
We tried the _reindex command on a smaller source index before, and it successfully finished without any error, and the size appeared equal between the source and destination indices. The smaller index before was 80.8mb in size.
After return, the index copying was still in progress, so by the command GET _cat/indices/_all, we saw the destination index keep increasing in size until done.
By the way, I have a related question to follow up.
I think the timeout happens on the Kibana, right? If yes, where can we find the log events?
So, I logged into the container by the command docker exec -u root -it kibana /bin/bash, and looked for the log files in /var/log/, but did not find anything.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.