You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Gautham Banasandra (Jira)" <ji...@apache.org> on 2025/05/01 18:23:00 UTC

[jira] [Created] (HADOOP-19558) Fix testRenameFileBeingAppended on Windows

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org