Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19277

Files and directories mixed up in TreeScanResults#dump

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 3.5.0
    • test

    Description

      AssertionError: listStatus(): directory count in 6 directories and 4 files
      Files:
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0000
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0000
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0001
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0001
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0002
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0002
      Directories:
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0000.txt
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0001.txt
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0002.txt
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0003.txt expected:<3> but was:<6>
      

      "Files" and "Directories" are mixed up in the output.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: