hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7886) TestFileTruncate#testTruncateWithDataNodesRestart runs timeout sometimes
Date Tue, 10 Mar 2015 06:42:38 GMT

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

Konstantin Shvachko commented on HDFS-7886:

Yi, when DN restarts it sends a block report. Right after registering. If you call {{triggerBlockReports()}},
it will send the block report again, but this is not necessary, because block report already
happened. Or I didn't understand why second block report is needed.
Plamen, I agree we should investigate the race in HDFS-7906.
For this jira can we fix the test. We need something different from {{waitActive()}} to ensure
that DNs have indeed restarted.

> TestFileTruncate#testTruncateWithDataNodesRestart runs timeout sometimes
> ------------------------------------------------------------------------
>                 Key: HDFS-7886
>                 URL: https://issues.apache.org/jira/browse/HDFS-7886
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.7.0
>            Reporter: Yi Liu
>            Assignee: Plamen Jeliazkov
>            Priority: Minor
>         Attachments: HDFS-7886.patch
> https://builds.apache.org/job/PreCommit-HDFS-Build/9730//testReport/

This message was sent by Atlassian JIRA

View raw message