hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4887) TestNNThroughputBenchmark exits abruptly
Date Tue, 02 Jul 2013 13:51:21 GMT

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

Kihwal Lee commented on HDFS-4887:

I first tried using ExitUtil, but this test case and potentially others want to stop ReplicationMonitor
thread and the rest of the system to be up. If NN exits, BlockManager is torn down and any
subsequent checks by tests will race.
> TestNNThroughputBenchmark exits abruptly
> ----------------------------------------
>                 Key: HDFS-4887
>                 URL: https://issues.apache.org/jira/browse/HDFS-4887
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: benchmarks, test
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>         Attachments: HDFS-4887.patch, HDFS-4887.patch
> After HDFS-4840, TestNNThroughputBenchmark exits in the middle. This is because ReplicationMonitor
is being stopped while NN is still running. 
> This is only valid during testing. In normal cases, ReplicationMonitor thread runs all
the time once started. In standby or safemode, it just skips calculating DN work. I think
NNThroughputBenchmark needs to use ExitUtil to prevent termination, rather than modifying

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message