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 14CDA10D08 for ; Thu, 5 Sep 2013 14:54:00 +0000 (UTC) Received: (qmail 65291 invoked by uid 500); 5 Sep 2013 14:53:59 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 64854 invoked by uid 500); 5 Sep 2013 14:53:58 -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 64581 invoked by uid 99); 5 Sep 2013 14:53:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 14:53:58 +0000 Date: Thu, 5 Sep 2013 14:53:58 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9442) HLogKey(walKey) constructor needs to be either removed, deprecated or fixed 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/HBASE-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-9442: ------------------------- Attachment: 9442v2.txt Rather than remove, since it referenced, fix it. > HLogKey(walKey) constructor needs to be either removed, deprecated or fixed > --------------------------------------------------------------------------- > > Key: HBASE-9442 > URL: https://issues.apache.org/jira/browse/HBASE-9442 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.0 > Reporter: Roman Shaposhnik > Attachments: 9442.txt, 9442.txt, 9442v2.txt > > > It is currently impossible to use HLogKey(walKey) because of the NPE that occurs due to constructor itself not initializing clusterIds but instead immediately calling readFieldsFromPb which then references it: > https://github.com/apache/hbase/blob/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogKey.java#L475 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira