hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Jarcec Cecho (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9820) Method Replication.decorateMasterConfiguration can fail with NPE in case that property HBASE_MASTER_LOGCLEANER_PLUGINS is not defined
Date Tue, 22 Oct 2013 20:38:43 GMT
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)

Mime
View raw message