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)

Reply via email to