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

Provide API for retrieving info port when hbase.master.info.port is set to 0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.2
    • None
    • None
    • Reviewed
    • Hide
      Adds new method to Admin so clients can ask the master's info port. Also fixes info port display in UI to use what master is actually using rather than display what is Configuration

      {code}
      + /**
      + * Get the info port of the current master if one is available.
      + * @return master info port
      + * @throws IOException
      + */
      + public int getMasterInfoPort() throws IOException;
      {code}
      Show
      Adds new method to Admin so clients can ask the master's info port. Also fixes info port display in UI to use what master is actually using rather than display what is Configuration {code} + /** + * Get the info port of the current master if one is available. + * @return master info port + * @throws IOException + */ + public int getMasterInfoPort() throws IOException; {code}

    Description

      When hbase.master.info.port is set to 0, info port is dynamically determined.

      An API should be provided so that client can retrieve the actual info port.

      Attachments

        1. HBASE-10483-v5.diff
          30 kB
          Shaohui Liu
        2. HBASE-10483-v4.diff
          31 kB
          Shaohui Liu
        3. HBASE-10483-v3.diff
          32 kB
          Shaohui Liu
        4. HBASE-10483-trunk-v2.diff
          24 kB
          Shaohui Liu
        5. HBASE-10483-trunk-v1.diff
          24 kB
          Shaohui Liu

        Activity

          People

            liushaohui Shaohui Liu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: