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

ASF GitHub Bot commented on HADOOP-14971:
-----------------------------------------

Github user ajfabbri commented on a diff in the pull request:

    https://github.com/apache/hadoop/pull/282#discussion_r147012936
  
    --- Diff: 
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/InconsistentAmazonS3Client.java
 ---
    @@ -171,14 +209,15 @@ public static InconsistentAmazonS3Client 
castFrom(AmazonS3 c) throws
       }
     
       @Override
    -  public DeleteObjectsResult deleteObjects(DeleteObjectsRequest
    -      deleteObjectsRequest)
    +  public DeleteObjectsResult deleteObjects(
    +      DeleteObjectsRequest deleteObjectsRequest)
           throws AmazonClientException, AmazonServiceException {
         for (DeleteObjectsRequest.KeyVersion keyVersion :
             deleteObjectsRequest.getKeys()) {
           registerDeleteObject(keyVersion.getKey(), deleteObjectsRequest
    -          .getBucketName());
    +        .getBucketName());
         }
    +    maybeFail();
    --- End diff --
    
    I'd move the failure point above the for loop.


> Merge S3A committers into trunk
> -------------------------------
>
>                 Key: HADOOP-14971
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14971
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.0.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>
> Merge the HADOOP-13786 committer into trunk. This branch is being set up as a 
> github PR for review there & to keep it out the mailboxes of the watchers on 
> the main JIRA



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to