HBase
  1. HBase
  2. HBASE-10483

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 0.99.2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Liu Shaohui
              Reporter:
              Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development