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

Steve Loughran commented on HADOOP-16575:
-----------------------------------------

{code}
[ERROR] Failures: 
[ERROR]   
ITestS3ARemoteFileChanged.testEventuallyConsistentReadOnReopen:890->expectReadFailure:1371
 read() returned: S
[ERROR]   
ITestS3ARemoteFileChanged.testEventuallyConsistentReadOnReopen:890->expectReadFailure:1371
 read() returned: S
[ERROR]   
ITestS3ARemoteFileChanged.testReadFileChangedOutOfSyncMetadata:428->expectReadFailure:1371
 read() returned: S
[ERROR]   
ITestS3ARemoteFileChanged.testReadFileChangedOutOfSyncMetadata:428->expectReadFailure:1371
 read() returned: S
[ERROR]   
ITestS3ARemoteFileChanged.testReadFileChangedStreamOpen:377->expectReadFailure:1371
 read() returned: ~
[ERROR]   
ITestS3ARemoteFileChanged.testReadFileChangedStreamOpen:377->expectReadFailure:1371
 read() returned: ~
[ERROR]   ITestS3ARemoteFileChanged.testRenameChangedFile:544 expected copy() 
failure: true
[ERROR]   ITestS3ARemoteFileChanged.testRenameChangedFile:544 expected copy() 
failure: true
[ERROR]   ITestS3ARemoteFileChanged.testSelectChangedFile:458 Expected a 
org.apache.hadoop.fs.s3a.RemoteFileChangedException to be thrown, but got the 
result: : org.apache.hadoop.fs.FSDataInputStream@428fab12: 
SelectInputStream{s3a://hwdev-steve-ireland-new/test/select.dat; state open; 
pos=0; readahead=524288
StreamStatistics{OpenOperations=1, CloseOperations=0, Closed=0, Aborted=0, 
SeekOperations=0, ReadExceptions=0, ForwardSeekOperations=0, 
BackwardSeekOperations=0, BytesSkippedOnSeek=0, BytesBackwardsOnSeek=0, 
BytesRead=0, BytesRead excluding skipped=0, ReadOperations=0, 
ReadFullyOperations=0, ReadsIncomplete=0, BytesReadInClose=0, 
BytesDiscardedInAbort=0, InputPolicy=0, InputPolicySetCount=0, 
versionMismatches=0}}
[ERROR]   ITestS3ARemoteFileChanged.testSelectChangedFile:458 Expected a 
org.apache.hadoop.fs.s3a.RemoteFileChangedException to be thrown, but got the 
result: : org.apache.hadoop.fs.FSDataInputStream@2bd4910b: 
SelectInputStream{s3a://hwdev-steve-ireland-new/test/select.dat; state open; 
pos=0; readahead=524288
StreamStatistics{OpenOperations=1, CloseOperations=0, Closed=0, Aborted=0, 
SeekOperations=0, ReadExceptions=0, ForwardSeekOperations=0, 
BackwardSeekOperations=0, BytesSkippedOnSeek=0, BytesBackwardsOnSeek=0, 
BytesRead=0, BytesRead excluding skipped=0, ReadOperations=0, 
ReadFullyOperations=0, ReadsIncomplete=0, BytesReadInClose=0, 
BytesDiscardedInAbort=0, InputPolicy=0, InputPolicySetCount=0, 
versionMismatches=0}}
[INFO] 
{code}

> ITestS3ARemoteFileChanged tests fail if you set the bucket to versionid 
> tracking
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-16575
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16575
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>    Affects Versions: 3.3.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> If you enable versionid tracking for a bucket, those tests in 
> ITestS3ARemoteFileChanged which try to generate failures off etag conflict 
> all fail.
> Fix: clear the relevant bucket option before the test run



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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

Reply via email to