[ 
https://issues.apache.org/jira/browse/HADOOP-14735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-14735:
------------------------------------
    Attachment: HADOOP-14735-HADOOP-13345-001.patch

Patch 001

* fix up all path logic to use {{path())}} to construct paths
* and use {{Path.getParent()}} to extract parents
* move keys and expected exception text to constants
* {{intercept()}} lambdas to return a value for using in exception messages (it 
appends it to the raised exception).
* checks for status codes use assertStatusCode rather than string checks (where 
possible)

Tested: s3 ireland, with and without s3guard

I experimentally pulled this into the parallel stretch to see if having all 
paths fork-relative would make it work. Sadly, not, so that is not part of the 
patch.

> ITestS3AEncryptionSSEC failing in parallel s3guard runs
> -------------------------------------------------------
>
>                 Key: HADOOP-14735
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14735
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: HADOOP-13345
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-14735-HADOOP-13345-001.patch
>
>
> in parallel test runs, {{ITestS3AEncryptionSSEC}} is failing (repeatedly) by 
> not throwing an exception when attempting to rename one file to another using 
> a different client key



--
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