hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6062) TestRetryCacheWithHA#testConcat is flaky
Date Thu, 06 Mar 2014 19:02:45 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Haohui Mai updated HDFS-6062:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.4.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I've committed the patch to trunk, branch-2, and branch-2.4. Thanks [~jingzhao] for the contribution.

> TestRetryCacheWithHA#testConcat is flaky
> ----------------------------------------
>
>                 Key: HDFS-6062
>                 URL: https://issues.apache.org/jira/browse/HDFS-6062
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>             Fix For: 2.4.0
>
>         Attachments: HDFS-6062.000.patch
>
>
> After adding retry cache metrics check, TestRetryCacheWithHA#testConcat can fail (https://builds.apache.org/job/PreCommit-HDFS-Build/6313//testReport/).
> The reason is that the test uses "dfs.exists(targetPath)" to check whether concat has
been done in the original active NN. However, since we create the target file in the beginning,
the check always returns true. Thus it is possible that the concat is processed in the new
active NN for the first time. And in this case the retry cache will not be hit.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message