Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10B2C91D6 for ; Thu, 2 Feb 2012 06:00:35 +0000 (UTC) Received: (qmail 22840 invoked by uid 500); 2 Feb 2012 06:00:33 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22638 invoked by uid 500); 2 Feb 2012 06:00:23 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 22607 invoked by uid 99); 2 Feb 2012 06:00:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2012 06:00:18 +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; Thu, 02 Feb 2012 06:00:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 98371187C0B for ; Thu, 2 Feb 2012 05:59:54 +0000 (UTC) Date: Thu, 2 Feb 2012 05:59:54 +0000 (UTC) From: "Phabricator (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <457717108.1417.1328162394625.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2093628773.47900.1323221680047.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4969) tautology in HRegionInfo.readFields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198554#comment-13198554 ] Phabricator commented on HBASE-4969: ------------------------------------ dhruba has resigned from the revision "HBASE-4969 [jira] tautology in HRegionInfo.readFields". REVISION DETAIL https://reviews.facebook.net/D669 > tautology in HRegionInfo.readFields > ----------------------------------- > > Key: HBASE-4969 > URL: https://issues.apache.org/jira/browse/HBASE-4969 > Project: HBase > Issue Type: Bug > Reporter: Prakash Khemani > Assignee: Prakash Khemani > Fix For: 0.92.0 > > Attachments: HBASE-4969.D669.1.patch > > > In HRegionInfo.readFields() the following looks wrong to me > } else if (getVersion() == VERSION) { > it is always true. > Should it have been > } else if (getVersion() == version) { > version is a local variable where the deserialized-version is stored. > (I am struggling with another issue where after applying some patches - including "HBASE-4388 Second start after migration from 90 to trunk crashes" my version of hbase-92 HRegionInfo.readFields() tries to find HTD in HRegionInfo and fails) -- 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