hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HDFS-13509) Bug fix for breakHardlinks() of ReplicaInfo/LocalReplica, and fix TestFileAppend failures on Windows
Date Fri, 27 Apr 2018 18:56:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-13509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456912#comment-16456912
] 

Íñigo Goiri commented on HDFS-13509:
------------------------------------

Do you mind posting your local test results on Windows before and after for each patch too?

> 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
>         Attachments: HDFS-13509-branch-2.000.patch, HDFS-13509.000.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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message