Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8423 S3 API compatibility improvements and fixes
  3. HDDS-10665

testRenamePopulatesDirectoryAncestors fails in FSO bucket: Change detection policy requires ETag

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • S3
    • None

    Description

      Tests run: 11, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 132.068 s <<< FAILURE! - in org.apache.hadoop.fs.contract.s3a.ITestS3AContractRename
      testRenamePopulatesDirectoryAncestors(org.apache.hadoop.fs.contract.s3a.ITestS3AContractRename)  Time elapsed: 57.602 s  <<< ERROR!
      org.apache.hadoop.fs.s3a.NoVersionAttributeException: `s3a://fso-bucket/test/testRenamePopulatesDirectoryAncestors/source/dir1/dir2/dir3/dir4': Change detection policy requires ETag
      	at org.apache.hadoop.fs.s3a.impl.ChangeTracker.processNewRevision(ChangeTracker.java:274)
      	at org.apache.hadoop.fs.s3a.impl.ChangeTracker.processMetadata(ChangeTracker.java:260)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$getObjectMetadata$11(S3AFileSystem.java:2667)
      	at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:468)
      	at org.apache.hadoop.fs.s3a.Invoker.retryUntranslated(Invoker.java:431)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.getObjectMetadata(S3AFileSystem.java:2653)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.lambda$copyFile$29(S3AFileSystem.java:4271)
      	at org.apache.hadoop.fs.s3a.Invoker.once(Invoker.java:122)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.copyFile(S3AFileSystem.java:4269)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem.access$1300(S3AFileSystem.java:266)
      	at org.apache.hadoop.fs.s3a.S3AFileSystem$OperationCallbacksImpl.copyFile(S3AFileSystem.java:2285)
      	at org.apache.hadoop.fs.s3a.impl.RenameOperation.copySource(RenameOperation.java:562)
      	at org.apache.hadoop.fs.s3a.impl.RenameOperation.lambda$initiateCopy$1(RenameOperation.java:534)
      	at org.apache.hadoop.fs.store.audit.AuditingFunctions.lambda$callableWithinAuditSpan$3(AuditingFunctions.java:119)
      

      Attachments

        Activity

          People

            chiacyu Chia-Chuan Yu
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: