hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9308) Add truncateMeta() to MiniDFSCluster
Date Mon, 26 Oct 2015 20:53:27 GMT
Tony Wu created HDFS-9308:
-----------------------------

             Summary: Add truncateMeta() 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


HDFS-9188 introduced {{corruptMeta()}} method to make corrupting the metadata file filesystem
agnostic. There should also be a {{truncateMeta()}} method to allow truncation of metadata
files on DataNodes without writing code that's specific to underling file system. 

This will be useful for tests such as {{TestLeaseRecovery#testBlockRecoveryWithLessMetafile}}.



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

Mime
View raw message