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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: