Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9820

Method Replication.decorateMasterConfiguration can fail with NPE in case that property HBASE_MASTER_LOGCLEANER_PLUGINS is not defined

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.96.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Please re-open if this still need to be pursued further.

      Description

      While upgrading HBase dependency on Pig via PIG-3529, I've noticed that method Replication.decorateMasterConfiguration() can throw NullPointerException (code) 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.

        Attachments

        1. HBASE-9820-v0-trunk.patch
          1 kB
          Jean-Marc Spaggiari

          Issue Links

            Activity

              People

              • Assignee:
                jmspaggi Jean-Marc Spaggiari
                Reporter:
                jarcec Jarek Jarcec Cecho
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: