Gautham Banasandra created HADOOP-19558:
-------------------------------------------

             Summary: Fix testRenameFileBeingAppended on Windows
                 Key: HADOOP-19558
                 URL: https://issues.apache.org/jira/browse/HADOOP-19558
             Project: Hadoop Common
          Issue Type: Bug
          Components: hadoop-common
    Affects Versions: 3.5.0
         Environment: Windows 10
            Reporter: Gautham Banasandra
            Assignee: Gautham Banasandra
             Fix For: 3.5.0


The AbstractContractAppendTest#testRenameFileBeingAppended() tries to rename 
the file while the handle is open. This isn't allowed on Windows and thus the 
call to rename fails.

Thus, we need to close the file handle before attempting to rename it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to