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 F0904954F for ; Sat, 4 Feb 2012 05:28:38 +0000 (UTC) Received: (qmail 61009 invoked by uid 500); 4 Feb 2012 05:28:37 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 60603 invoked by uid 500); 4 Feb 2012 05:28:31 -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 60575 invoked by uid 99); 4 Feb 2012 05:28:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Feb 2012 05:28:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Feb 2012 05:28:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 92F2B18CFC1 for ; Sat, 4 Feb 2012 05:27:53 +0000 (UTC) Date: Sat, 4 Feb 2012 05:27:53 +0000 (UTC) From: "Konstantin Shvachko (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1940236436.10868.1328333273603.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <350986887.6566.1328248313897.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2886) CreateEditLogs should generate a realistic edit log. 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-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-2886: -------------------------------------- Attachment: createLog-trunk.patch createLog-0.22.patch Fixed CreateEditLog. Cleaned up parameters. Added () in TestEditLog. > CreateEditLogs should generate a realistic edit log. > ---------------------------------------------------- > > Key: HDFS-2886 > URL: https://issues.apache.org/jira/browse/HDFS-2886 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Affects Versions: 0.24.0, 0.23.1, 0.22.1 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Attachments: createLog-0.22.patch, createLog-trunk.patch > > > CreateEditsLog generates non-standard transactions. In real life first transaction that creates a file does not contain blocks. While CreateEditsLog adds blocks to this transaction. Change CreateEditsLog to produce real-life transaction. > Also cleanup unused parameters for {{FSDirectory.updateFile()}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira