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.