java - Elasticsearch snapshot backup to S3(aws)
巴扎黑
巴扎黑 2017-04-18 09:31:22
0
0
287

curl -XPUT 'http://localhost:9200/_snapshot/es_s3_repository' -d '{

 "type": "s3",
 "settings": {
     "bucket": "es_bucket",
     "region": "cn-north-1",
     "access_key":"xxxx" ,
     "secret_key":"xxxxxxxxxx"
 }

}

{"error":"RepositoryException[[es_s3_repository] failed to create repository]; nested: CreationException[Guice creation errors:nn1) Error injecting constructor, org.elasticsearch.ElasticsearchIllegalArgumentException: No automatic endpoint could be derived from region [s3-cn-north-1.amazonaws.com]n at org.elasticsearch.repositories.s3.S3Repository.<init>(Unknown Source)n while locating org.elasticsearch.repositories.s3.S3Repositoryn while locating org.elasticsearch.repositories.Repositorynn1 error]; nested: ElasticsearchIllegalArgumentException[No automatic endpoint could be derived from region [cn-north-1]]; ","status":500}

创建仓库一直失败?

巴扎黑
巴扎黑

全員に返信(0)
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート
私たちについて 免責事項 Sitemap
PHP中国語ウェブサイト:福祉オンライン PHP トレーニング,PHP 学習者の迅速な成長を支援します!