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-7740) Test truncate with DataNodes restarting
Date Fri, 20 Feb 2015 02:15:13 GMT

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

Konstantin Shvachko commented on HDFS-7740:

Hey Yi. The test scenarios sound great.
# I don't think your new tests will work with the ones existing in TestFileTruncate, because
you are restarting the whole cluster.
I would propose to put your new cases into a new file, smth, like TestTruncateDataNodeRestarting.
# It would be good to start the cluster once in @BeforeClass, and make sure all DNs are up
after each test case. I think this is possible as you do not need to reformat the cluster
after each test. If you need to reformat, then we should use try-catch to start / stop clusters.
# With DNs restarting one way to accelerate test running time is to shorten heartbeats, as
we did in TestFileTruncate.

> Test truncate with DataNodes restarting
> ---------------------------------------
>                 Key: HDFS-7740
>                 URL: https://issues.apache.org/jira/browse/HDFS-7740
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 2.7.0
>            Reporter: Konstantin Shvachko
>            Assignee: Yi Liu
>             Fix For: 2.7.0
>         Attachments: HDFS-7740.001.patch
> Add a test case, which ensures replica consistency when DNs are failing and restarting.

This message was sent by Atlassian JIRA

View raw message