hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Spaggiari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9820) Method Replication.decorateMasterConfiguration can fail with NPE in case that property HBASE_MASTER_LOGCLEANER_PLUGINS is not defined
Date Thu, 24 Oct 2013 14:26:01 GMT

    [ 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)

Mime
View raw message