[
https://issues.apache.org/jira/browse/HDFS-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Shvachko updated HDFS-7676:
--------------------------------------
Attachment: HDFS-7676.patch
The fix is to shrink edits so that it does not include transactions from
previous runs. That way restarts in testTruncateEditLogLoad will not replay
unrelated edits.
Ran TestFileTruncate with this patch many times - no failures.
> Fix TestFileTruncate to avoid bug of HDFS-7611
> ----------------------------------------------
>
> Key: HDFS-7676
> URL: https://issues.apache.org/jira/browse/HDFS-7676
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: test
> Affects Versions: 3.0.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 3.0.0
>
> Attachments: HDFS-7676.patch
>
>
> This is to fix testTruncateEditLogLoad(), which is failing due to the bug
> described in HDFS-7611.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)