Xuanwo opened a new issue, #3678:
URL: https://github.com/apache/incubator-opendal/issues/3678

   ```shell
   error: APIError: ResponseError with 3001: NotFound (permanent) at 
Writer::close, context: { uri: 
https://s3.us-east-1.amazonaws.com/expresstest--use1-az6--x-s3/247080/247086/_b/ffe0d528f1bb46a7b5d0ea31303acd3c_v2.parquet,
 response: Parts { status: 404, version: HTTP/1.1, headers: 
{"x-amz-request-id": "JW1K977VJ55D9BEQ", "x-amz-id-2": 
"PLq++AEjIGwC5LfXaJLUehpKETmj40w5V27Qd8dW5cnRF29RX4np4QIFcyXndji1RlYwn8csREA=", 
"content-type": "application/xml", "transfer-encoding": "chunked", "date": 
"Wed, 29 Nov 2023 02:11:33 GMT", "server": "AmazonS3", "connection": "close"} 
}, service: s3, path: 
247080/247086/_b/ffe0d528f1bb46a7b5d0ea31303acd3c_v2.parquet } => S3Error { 
code: "NoSuchBucket", message: "The specified bucket does not exist", resource: 
"", request_id: "JW1K977VJ55D9BEQ" }
   ```
   
   AWS SDK has a special logic to handle this:
   
   ```python
   def is_s3express_bucket(bucket):
       if bucket is None:
           return False
       return bucket.endswith('--x-s3')
   ```
   
   
https://github.com/boto/botocore/blob/febc9ea08510c8b90c67b456f85a9faa64a69c69/botocore/utils.py#L3566
   
   We should follow this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to