I believe you haven't installed the reindex module. This comes by default if you use Elasticsearch in the tar, zip, rpm, or deb distribution. Usually I see this problem when folks try to run Elasticsearch embedded which isn't supported.
This error message is because without the plugin installed POST /_reindex looks a request to create an index.
We really should treat APIs that start with _ like that as 404s rather than index creations....
Yeah, so you don't have reindex installed. I don't know why you don't have reindex installed. It certainly comes with the rpm. Can you check if installing encountered an error somehow? Maybe removing and reinstalling?
I did a yum update and yum downgrade, now I have the reindex directory in the modules.
I have another problem, that it takes 2 hours to start after a restart (Elasticsearch is taking 2 hours to resart), so I cannot check if it really works only in 2 hours..
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.