You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2013/10/22 22:38:43 UTC

[jira] [Created] (HBASE-9820) Method Replication.decorateMasterConfiguration can fail with NPE in case that property HBASE_MASTER_LOGCLEANER_PLUGINS is not defined

Jarek Jarcec Cecho created HBASE-9820:
-----------------------------------------

             Summary: 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)