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 4B71F104BF for ; Thu, 24 Oct 2013 14:26:07 +0000 (UTC) Received: (qmail 11640 invoked by uid 500); 24 Oct 2013 14:26:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 11570 invoked by uid 500); 24 Oct 2013 14:26:03 -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 11535 invoked by uid 99); 24 Oct 2013 14:26:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 14:26:01 +0000 Date: Thu, 24 Oct 2013 14:26:01 +0000 (UTC) From: "Jean-Marc Spaggiari (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9820) Method Replication.decorateMasterConfiguration can fail with NPE in case that property HBASE_MASTER_LOGCLEANER_PLUGINS is not defined 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-9820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804241#comment-13804241 ] Jean-Marc Spaggiari commented on HBASE-9820: -------------------------------------------- Hi [~jarcec] Are you going to provide a patch for that? Else I can take a look. It's an easy fix. Also, do you have the stacktrace? Thanks. > Method Replication.decorateMasterConfiguration can fail with NPE in case that property HBASE_MASTER_LOGCLEANER_PLUGINS is not defined > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-9820 > URL: https://issues.apache.org/jira/browse/HBASE-9820 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.0 > Reporter: Jarek Jarcec Cecho > > While upgrading HBase dependency on Pig via PIG-3529, I've noticed that method {{Replication.decorateMasterConfiguration()}} can throw {{NullPointerException}} ([code|https://github.com/apache/hbase/blob/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/Replication.java]) in case when property HBASE_MASTER_LOGCLEANER_PLUGINS won't be defined. > The issue was more on a pig side where we weren't propagating default HBase configuration resources (such as {{hbase-default.xml}}), but I was curious if it's expected that this property will be always defined? We might want to tweak the code a bit if this property can be null. -- This message was sent by Atlassian JIRA (v6.1#6144)