hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9308) Add truncateMeta() and deleteMeta() to MiniDFSCluster
Date Tue, 03 Nov 2015 04:10:27 GMT

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

Hudson commented on HDFS-9308:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #620 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/620/])
HDFS-9308. Add truncateMeta() and deleteMeta() to MiniDFSCluster. (Tony (lei: rev 8e05dbf2bddce95d5f5a5bae5df61acabf0ba7c5)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestLeaseRecovery.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestCrcCorruption.java


> Add truncateMeta() and deleteMeta() to MiniDFSCluster
> -----------------------------------------------------
>
>                 Key: HDFS-9308
>                 URL: https://issues.apache.org/jira/browse/HDFS-9308
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: HDFS, test
>    Affects Versions: 2.7.1
>            Reporter: Tony Wu
>            Assignee: Tony Wu
>            Priority: Minor
>             Fix For: 3.0.0, 2.8.0
>
>         Attachments: HDFS-9308.001.patch, HDFS-9308.002.patch, HDFS-9308.003.patch
>
>
> HDFS-9188 introduced {{corruptMeta()}} method to make corrupting the metadata file filesystem
agnostic. There should also be a {{truncateMeta()}} and {{deleteMeta()}} method in MiniDFSCluster
to allow truncation of metadata files on DataNodes without writing code that's specific to
underling file system. {{FsDatasetTestUtils#truncateMeta()}} is already implemented by HDFS-9188
and cam be exposed easily in {{MiniDFSCluster}}.
> This will be useful for tests such as {{TestLeaseRecovery#testBlockRecoveryWithLessMetafile}}
and {{TestCrcCorruption#testCrcCorruption}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message