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

Fix improper master znode deserialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.92.0
    • 0.92.0, 0.94.0
    • None
    • None
    • Reviewed

    Description

      In ActiveMasterManager#blockUntilBecomingActiveMaster the master znode is created as a versioned serialized version of ServerName

           if (ZKUtil.createEphemeralNodeAndWatch(this.watcher,
                this.watcher.masterAddressZNode, sn.getVersionedBytes())) {
      

      There are a few user visible places where it is used but not deserialized properly.

      Attachments

        1. hbase-5103.patch
          2 kB
          Jonathan Hsieh

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: