apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
12.79k stars 3.3k forks source link

[Bug] when I create a STORAGE VAULT ,it is alwas add http:// at my s3.endpoint #42873

Open bo8888 opened 4 weeks ago

bo8888 commented 4 weeks ago

Search before asking

Version

3.0.2

What's Wrong?

I am use CEPH S3 ,my endpoint is https://s3.test.com .when i create the vault use CREATE STORAGE VAULT IF NOT EXISTS s3_vault PROPERTIES ( "type"="S3", "s3.endpoint"="https://s3.test.com", "s3.access_key" = "ak", "s3.secret_key" = "sk", "s3.region" = "us-east-1", "s3.root.path" = "ssb_sf1_p2_s3", "s3.bucket" = "doris-build-1308700295", "provider" = "S3" );

doris will chang my url to http://https://s3.test.com ,please remove auto add http,or add the config to select use http/https .

in startrocks ,the config like aws_s3_path = bucketname/subpath aws_s3_endpoint = https://xxxxxxxx aws_s3_access_key = aws_s3_secret_key =

What You Expected?

can set url by my self

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

Code of Conduct

ixzc commented 3 weeks ago

Notice, please don't provide the endpoint with any http:// or https://. And for Azure Blob Storage, the endpoint should be like ${ak}.blob.core.windows.net/. you can refer this. https://doris.apache.org/zh-CN/docs/3.0/sql-manual/sql-statements/Data-Definition-Statements/Create/CREATE-STORAGE-VAULT#properties