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

The HCFS contract test testRenameFileBeingAppended doesn't do a rename

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • test

    Description

      The test AbstractContractAppendTest::testRenameFileBeingAppended appears to assert the behavior of renaming a file opened for writing. However, the assertion "assertPathExists("renamed destination file does not exist", renamed);" fails because it appears that the file "renamed" is never created (ostensibly it should be the "target" file that has been renamed).

      Attachments

        1. HADOOP-11244.patch
          2 kB
          jay vyas
        2. HADOOP-11244.patch
          1.0 kB
          jay vyas

        Issue Links

          Activity

            People

              jayunit100 jay vyas
              nwatkins Noah Watkins
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: