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

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 학습자의 빠른 성장을 도와주세요!