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

Steve Loughran commented on HADOOP-14735:
-----------------------------------------

replace the (needless) exception throwing with a {{return getFileStatus()}}, as 
{{intercept()}} will use that in its message.


{code}
testCreateFileThenMoveWithDifferentSSECKey(org.apache.hadoop.fs.s3a.ITestS3AEncryptionSSEC)
  Time elapsed: 1.427 sec  <<< ERROR!
java.io.FileNotFoundException: No such file or directory: 
s3a://hwdev-steve-ireland-new/user/stevel/testCreateFileThenMoveWithDifferentSSECKey-different-path.txt
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.s3GetFileStatus(S3AFileSystem.java:1953)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.innerGetFileStatus(S3AFileSystem.java:1848)
        at 
org.apache.hadoop.fs.s3a.S3AFileSystem.getFileStatus(S3AFileSystem.java:1791)
        at 
org.apache.hadoop.fs.s3a.ITestS3AEncryptionSSEC.lambda$testCreateFileThenMoveWithDifferentSSECKey$2(ITestS3AEncryptionSSEC.java:146)
{code}

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