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

NPE reading ZK config in HBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.94.0
    • Zookeeper
    • None
    • Reviewed

    Description

      If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().

      The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:

      <property>
        <name>hbase.cluster.distributed</name>
        <value></value>
      </property>
      

      Attachments

        1. HBASE-5633-0.90.patch
          1 kB
          Matteo Bertozzi
        2. HBASE-5633-0.92.patch
          1 kB
          Matteo Bertozzi
        3. HBASE-5633-v1.patch
          1 kB
          Matteo Bertozzi
        4. HBASE-5633-v2.patch
          2 kB
          Michael Stack

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: