版本
doris:2.1.0
其他前置条件:
Broker的名称为obs_broker
CREATE REPOSITORY
obs_repo
WITH S3
ON LOCATION "s3://dorisbak"
PROPERTIES
(
"AWS_ENDPOINT" = "http://10.xxx.xx.x:9383",
"AWS_ACCESS_KEY" = "admin",
"AWS_SECRET_KEY"="admin",
"AWS_REGION" = "us-east-1",
"use_path_style" = "true"
);
能创建仓库成功,已创建的仓库如图
doris文档内容:
说明BROKER是支持S3的
问题:
CREATE REPOSITORY
obs_repo2
WITH BROKERobs_broker
ON LOCATION "s3a://dorisbak2"
PROPERTIES
(
"fs.s3a.access.key" = "admin",
"fs.s3a.secret.key" = "admin",
"fs.s3a.endpoint" = "http://10.xxx.xx.x:9383"
);
创建仓库失败,失败详情如下图:
请问,我该怎么写这个创建仓库语句呢,麻烦帮忙看看,谢谢!