Doris 3.0 Storage Vault对接Azure Blob报UnknownHostException

Viewed 25

创建Azure Blob的Storage Vault时报错UnknownHostException,在fe/be/ms/re中均可以正常解析blob endpoint。
SQL:
CREATE STORAGE VAULT IF NOT EXISTS ssb_azure_vault2
PROPERTIES (
"type"="S3",
"s3.endpoint" = "studysa2024.blob.core.windows.net/",
"s3.bucket" = "studysa2024",
"s3.root.path" = "doris-cloud",
"s3.access_key" = "studysa2024",
"s3.secret_key" = "keyxxxx",
"provider" = "AZURE"
);

response:
ERROR 1105 (HY000): errCode = 2, detailMessage = ping s3 failed(upload), status: [COMMON_ERROR, msg: connect to s3 failed: Received an UnknownHostException when attempting to interact with a service. See cause for the exact endpoint that is failing to resolve. If this is happening on an endpoint that previously worked, there may be a network connectivity issue or your DNS cache could be storing endpoints for too long.], properties: "s3.region" = "blob", "s3.endpoint" = "http://studysa2024.blob.core.windows.net/", "provider" =


另外还想咨询下s3.bucket是否配置为Blob Storage Account Name,s3.root.path配置为Container以及prefix?

1 Answers

把 net/ 的 / 去掉看下