Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18805 Unify Admin and AsyncAdmin
  3. HBASE-19010

Reimplement getMasterInfoPort for Admin

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • Client
    • None

    Description

      Current implementation.

        public int getMasterInfoPort() throws IOException {
          // TODO: Fix!  Reaching into internal implementation!!!!
          ConnectionImplementation connection = (ConnectionImplementation)this.connection;
          ZooKeeperKeepAliveConnection zkw = connection.getKeepAliveZooKeeperWatcher();
          try {
            return MasterAddressTracker.getMasterInfoPort(zkw);
          } catch (KeeperException e) {
            throw new IOException("Failed to get master info port from MasterAddressTracker", e);
          }
        }
      

      Open this issue to fix TODO.

      Attachments

        1. HBASE-19010.master.001.patch
          10 kB
          Guanghao Zhang
        2. HBASE-19010.master.002.patch
          13 kB
          Guanghao Zhang
        3. HBASE-19010.master.002.patch
          13 kB
          Guanghao Zhang
        4. HBASE-19010.master.002.patch
          13 kB
          Guanghao Zhang
        5. HBASE-19010.master.002.patch
          13 kB
          Guanghao Zhang
        6. HBASE-19010.master.003.patch
          14 kB
          Guanghao Zhang
        7. HBASE-19010.master.003.patch
          14 kB
          Guanghao Zhang
        8. HBASE-19010.master.004.patch
          15 kB
          Guanghao Zhang
        9. HBASE-19010.master.004.patch
          15 kB
          Guanghao Zhang

        Issue Links

          Activity

            People

              zghao Guanghao Zhang
              zghao Guanghao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: