Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 080DC18BC6 for ; Fri, 31 Jul 2015 22:18:05 +0000 (UTC) Received: (qmail 44474 invoked by uid 500); 31 Jul 2015 22:18:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 44411 invoked by uid 500); 31 Jul 2015 22:18:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 44396 invoked by uid 99); 31 Jul 2015 22:18:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2015 22:18:04 +0000 Date: Fri, 31 Jul 2015 22:18:04 +0000 (UTC) From: "Zhe Zhang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8846) Create edit log files with old layout version for upgrade testing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-8846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649923#comment-14649923 ] Zhe Zhang commented on HDFS-8846: --------------------------------- [~mingma] [~cmccabe] Let me know if the below looks a reasonable plan: # Start a local 2.5.2 cluster (it's just the oldest version shown on Apache website, let me know if the version is appropriate) # Add the following Ops: #* Create a directory #* Copy ~10 local files into the dir #* Delete a few copied files # Add the generated edit log files in {{hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/old-edits}} # Copy over old edits in {{TestDFSUpgrade#testPreserveEditLogs}} Thanks > Create edit log files with old layout version for upgrade testing > ----------------------------------------------------------------- > > Key: HDFS-8846 > URL: https://issues.apache.org/jira/browse/HDFS-8846 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.7.1 > Reporter: Zhe Zhang > Assignee: Zhe Zhang > > Per discussion under HDFS-8480, we should create some edit log files with old layout version, to test whether they can be correctly handled in upgrades. -- This message was sent by Atlassian JIRA (v6.3.4#6332)