[
https://issues.apache.org/jira/browse/HDFS-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308056#comment-14308056
]
Konstantin Shvachko commented on HDFS-7740:
-------------------------------------------
Scenario for the test:
- Create file with 3 DNs up. Kill DN(0). Truncate file. Restart DN(0), make
sure the old replica is disregarded and replaced with the truncated one.
- Kill DN(1). Truncate within the same last block with copy-on-truncate.
Restart DN(1), verify replica consistency.
> 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
> Fix For: 2.7.0
>
>
> Add a test case, which ensures replica consistency when DNs are failing and
> restarting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)