I created a read only repository pointing my bitbucket repo.I tried to create snapshot but it gives the following error.
{
"error": {
"root_cause": [
{
"type": "not_x_content_exception",
"reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"
}
],
"type": "not_x_content_exception",
"reason": "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"
},
"status": 500
}
what's your exact repository settings, i.e. how did you create the repository?
What plugin did you use here? Bitbucket is a version control system, to my knowledge there is no repository plugin for it (and frankly I don't see how one would make sense).
Also, a read-only repository will not allow you to take snapshots it only allows reading/restoring from it as the name suggests
@Gayathri.Srivathsan not that won't be possible. You need to provide a shared file system path that is seen by all your nodes for path.repo when using the fs repository, you can't run against arbitrary GIT/HTTP endpoints.
A version control system is not suitable for storing the potentially large files generated by the Elasticsearch snapshot functionality to begin with. You can either snapshot to a shared file system, HDFS or one of our supported cloud storage backends as an alternative.
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.