Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 55056 invoked from network); 13 Apr 2011 18:34:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 18:34:43 -0000 Received: (qmail 44878 invoked by uid 500); 13 Apr 2011 18:34:43 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 44849 invoked by uid 500); 13 Apr 2011 18:34:43 -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 44841 invoked by uid 99); 13 Apr 2011 18:34:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 18:34:43 +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; Wed, 13 Apr 2011 18:34:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C189DA06B4 for ; Wed, 13 Apr 2011 18:34:05 +0000 (UTC) Date: Wed, 13 Apr 2011 18:34:05 +0000 (UTC) From: "Konstantin Shvachko (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1585013477.55724.1302719645789.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1154777554.44805.1302292745765.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-1822) Editlog opcodes overlap between 20 security and later releases 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-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019477#comment-13019477 ] Konstantin Shvachko commented on HDFS-1822: ------------------------------------------- Proposed change seems odd. I understand there was a mistake made while introducing these ops to 0.20s. So correcting this mistake by introducing a work around into 0.22 and using it forever is bad. I did not exactly understood what was vetoed. I think a nicer way to handle this is this. Let's upgrade all four branches at once. h-0.20.s LV -19 -> -29 h-0.21 LV -27 -> -30 h-0.22 LV -28 -> -31 h-0.23 LV -27 -> -32 h-0.20.s with LV -29 will provide conversion from the -19 ops to the right ones. LV -19 should be banned for h-0.21,22,23 Will that work? > Editlog opcodes overlap between 20 security and later releases > -------------------------------------------------------------- > > Key: HDFS-1822 > URL: https://issues.apache.org/jira/browse/HDFS-1822 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.21.0, 0.22.0, 0.23.0 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Priority: Blocker > Fix For: 0.22.0, 0.23.0 > > Attachments: HDFS-1822.patch > > > Same opcode are used for different operations between 0.20.security, 0.22 and 0.23. This results in failure to load editlogs on later release, especially during upgrades. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira