adoroszlai commented on pull request #2447:
URL: https://github.com/apache/hadoop/pull/2447#issuecomment-726082449


   I managed to run `ITestS3AContractRename` against Ozone S3 and got the 
following failure:
   
   ```
   expected rename(s3a://rename/test/source-256.txt, 
s3a://rename/test/dest-512.txt) to be rejected with exception, but got false
   ```
   
   Inspecting S3AFileSystem, it seems rename file over existing file is 
intended to return false:
   
   
https://github.com/apache/hadoop/blob/fc961b63d145ef17fb45fa8a2bcb1c3318b8bff7/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java#L1383-L1386
   
   and
   
   
https://github.com/apache/hadoop/blob/fc961b63d145ef17fb45fa8a2bcb1c3318b8bff7/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java#L1452-L1458
   
   I think it should be declared in the contract xml.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to