[ 
https://issues.apache.org/jira/browse/HDDS-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667889#comment-16667889
 ] 

Hudson commented on HDDS-743:
-----------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15335 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15335/])
HDDS-743. S3 multi delete request should return XML header in quiet (bharat: 
rev 3655e573e28eea79e46936d348a852158b2fc48a)
* (edit) 
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestObjectMultiDelete.java
* (edit) 
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java


> S3 multi delete request should return XML header in quiet mode
> --------------------------------------------------------------
>
>                 Key: HDDS-743
>                 URL: https://issues.apache.org/jira/browse/HDDS-743
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: S3
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.3.0, 0.4.0
>
>         Attachments: HDDS-743.001.patch
>
>
> Delete multiple objects with sending XML message to the bucket?delete 
> endpoint is implemented in HDDS-701 according to the aws documentation at 
> [https://docs.aws.amazon.com/AmazonS3/latest/API/multiobjectdeleteapi.html]
> As the documentations writes:
> {quote}{{ By default, the operation uses verbose mode in which the response 
> includes the result of deletion of each key in your request. In quiet mode 
> the response includes only keys where the delete operation encountered an 
> error}}
> {quote}
> In the quiet mode (which is an XML element in the input body) we return the 
> XML only in case of errors based on this paragraph. Without any error we 
> returned **with *empty body*.
> But during the executions of s3a unit tests I found that the right response 
> is an empty XML document instead of empty body (in case of quiet mode + 
> without any error)
> {code:java}
> <?xml version="1.0" encoding="UTF-8"?>
> <DeleteResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/";>{code}
> Some of the s3a unit tests are failed as without XML response the parsing was 
> unsuccessful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to