sreejasahithi commented on PR #10309:
URL: https://github.com/apache/ozone/pull/10309#issuecomment-4490476120
Sample output after the fix.
```
bash-5.1$
bash-5.1$
bash-5.1$ aws s3api delete-objects \
--bucket test-delete-limit \
--delete "$(python3 -c "
import json
keys = [{'Key': f'key-{i}'} for i in range(1, 1002)]
print(json.dumps({'Objects': keys, 'Quiet': False}))
")" \
--endpoint-url http://localhost:9878/
An error occurred (MalformedXML) when calling the DeleteObjects operation:
The XML you provided was not well-formed or did not validate against our
published schema
bash-5.1$
bash-5.1$
bash-5.1$ aws s3api delete-objects \
--bucket test-delete-limit \
--delete "$(python3 -c "
import json
keys = [{'Key': f'key-{i}'} for i in range(1, 1000)]
print(json.dumps({'Objects': keys, 'Quiet': False}))
")" \
--endpoint-url http://localhost:9878/
{
"Deleted": [
{
"Key": "key-1"
},
{
"Key": "key-2"
},
{
"Key": "key-3"
},
{
"Key": "key-4"
},
{
"Key": "key-5"
},
{
"Key": "key-6"
},
{
"Key": "key-7"
},
{
"Key": "key-8"
},
{
"Key": "key-9"
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]