[英]Elasticsearch snapshot restore throwing “repository missing” exception
"error": "RemoteTransportException[[Francis Underwood][inet[/xx.xx.xx.xx:9300]][cluster/snapshot/get]]; nested: RepositoryMissingException[[xxxxxxxxx] missing]; ", "status": 404
我也無法為s3上的快照創建新的快照存儲庫
PUT _snapshot/bkp_xxxxx_master { "type": "s3", settings": { "region": "us-xxxx-x", "bucket": "elasticsearch-backups", "access_key": "xxxxxxxxxxxx", "secret_key": "xxxxxxxxxxxxxxxxxxx" } }
我收到此PUT的回應如下:
{ "error": "RemoteTransportException[[Francis Underwood][inet[/xx.xx.xx.xx:9300]][cluster/repository/put]]; nested: RepositoryException[[bkp_xxxxxxx_master] failed to create repository]; nested:'AbstractMethodError[org.elasticsearch.cloud.aws.blobstore.S3BlobStore.immutableBlobContainer(Lorg/elasticsearch/common/blobstore/BlobPath;)Lorg/elasticsearch/common/blobstore/ImmutableBlobContainer;]; ", "status": 500 }
提前致謝!
我知道這是一個老問題,但是我已經能夠在多個ElasticSearch版本上復制它,事實證明原因是JVM版本與Elasticsearch-aws-cloud插件版本之間存在沖突。
只要您在整個群集中具有一致的版本(就我而言,它是elasticsearch-aws-cloud中的Joda版本與我在較新節點上安裝的最新JVM版本不兼容。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.