Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15226 Über-JIRA: S3Guard Phase III: Hadoop 3.2 features
  3. HADOOP-15511

ITestS3GuardListConsistency#testRollingRenames bad parameters passed to doTestRenameSequence

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 3.1.0
    • None
    • None
    • None

    Description

      Bumped into this while working on HADOOP-15423.

      Currently the parameters passed to doTestRenameSequence are the following:

      mkdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      srcdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      dstdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      yesdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      nodirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      
      mkdirs: {}
      srcdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      dstdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      yesdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      nodirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      
      mkdirs: {}
      srcdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      dstdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      yesdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      nodirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      
      mkdirs: {}
      srcdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      dstdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      yesdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      nodirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      
      mkdirs: {}
      srcdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      dstdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      yesdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      nodirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      
      mkdirs: {}
      srcdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/1
      dstdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      yesdirs: s3a://cloudera-dev-gabor-ireland/test/rolling/2
      nodirs: s3a://cloudera-dev-gabor-ireland/test/rolling/3
      

      The problem is that we should check that the srcdir is moved to dstdirs, so it should be check in nodirs. Right now nodirs parameter checks for directories which are completely unrelated to the cases, so this part of the test should be fixed to check for dirs that are related to the cases. Basically the nodirs should be equal to srcdirs in this case.

      Attachments

        Activity

          People

            gabor.bota Gabor Bota
            gabor.bota Gabor Bota
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: