[
https://issues.apache.org/jira/browse/HDFS-13509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16457683#comment-16457683
]
Hudson commented on HDFS-13509:
-------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #14090 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14090/])
HDFS-13509. Bug fix for breakHardlinks() of ReplicaInfo/LocalReplica,
(inigoiri: rev eb7fe1d588de903be2ff6e20384c25c184881532)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/LocalReplica.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileAppend.java
> Bug fix for breakHardlinks() of ReplicaInfo/LocalReplica, and fix
> TestFileAppend failures on Windows
> ----------------------------------------------------------------------------------------------------
>
> Key: HDFS-13509
> URL: https://issues.apache.org/jira/browse/HDFS-13509
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Xiao Liang
> Assignee: Xiao Liang
> Priority: Major
> Labels: windows
> Fix For: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
>
> Attachments: HDFS-13509-branch-2.000.patch, HDFS-13509.000.patch,
> HDFS-13509.001.patch, HDFS-13509.002.patch
>
>
> breakHardlinks() of ReplicaInfo(branch-2)/LocalReplica(trunk) replaces file
> while the source is still opened as input stream, which will fail and throw
> exception on Windows. It's the cause of unit test case
> org.apache.hadoop.hdfs.TestFileAppend#testBreakHardlinksIfNeeded failure on
> Windows.
> Other test cases of TestFileAppend fail randomly on Windows due to sharing
> the same test folder, and the solution is using randomized base dir of
> MiniDFSCluster via HDFS-13408
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]