[
https://issues.apache.org/jira/browse/HDDS-8338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712707#comment-17712707
]
ChenXi commented on HDDS-8338:
------------------------------
AWS s3 has a request parameter of `{{{}encoding-type`{}}} that can control
whether to encode fields such as key in the response,
refer:
[https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html#AmazonS3-ListObjectsV2-response-EncodingType]
The latest version of Ozone supports this parameter(`{{{}encoding-type`{}}} ),
which may solve your issue:
[HDDS-7710. Support AWS s3 ListObjects API's encodingType request parameter by
xichen01 · Pull Request #4127 · apache/ozone
(github.com)|https://github.com/apache/ozone/pull/4127]
> problems caused by obs path urlencode
> -------------------------------------
>
> Key: HDDS-8338
> URL: https://issues.apache.org/jira/browse/HDDS-8338
> Project: Apache Ozone
> Issue Type: Bug
> Components: S3
> Affects Versions: 1.3.0
> Environment: CentOS Linux release 7.6.1810 (Core)
> Kubernetes Version:{color:#6c6c76} v1.21.5{color}
> {color:#6c6c76}ozone 1.2.1{color}
> {color:#6c6c76}Apache druid 0.22.1{color}
> Reporter: zhoujianping
> Priority: Major
>
> I recently used the Apache Druid open source project, which uses S3 for deep
> storage in ozone. When I used the 1.2.1 version of ozone, the storage path
> was normal, similar to"
> obs://druid/segments/ods.motr.pnt.data.ip.tab/2023-03-31T08:00:00.000Z_2023-03-31T09:00:00.000Z/2023-03-31T02:09:25.092Z/0/fa09ef35-df25-4685-bf68-d1dd8f43b6ee/index.zip
> ", but when I used the 1.3.0 version of ozone, the storage path was encoded,
> similar to"
> obs://druid/segments/ods.motr.pnt.data.str.tab/2023-03-31T08%3A00%3A00.000Z_2023-03-31T09%3A00%3A00.000Z/2023-03-31T00%3A00%3A00.384Z/0/abcd7e36-1d46-4071-a0e2-002941a6ef1e/index.zip
> ", causing some errors in Druid. I hope that the storage path does not
> require URL encoding.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]