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

Make port displayed the same as is used in URL for RegionServer table in UI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.19.0
    • 0.20.0
    • None
    • None

    Description

      In master JSP file make the ports being used the same for these two adjacent lines:

      String url = "http://" +
      hsi.getServerAddress().getHostname().toString() + ":" +
      hsi.getInfoPort() + "/";
      String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getServerAddress().getPort();

      The second line should be:

      String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getInfoPort();

      Or possibly do this?

      String hostname = hsi.getServerAddress().getHostname() + ":" + hsi.getInfoPort();
      String url = "http://" + hostname + "/";

      Attachments

        1. 1209.patch
          0.9 kB
          Lars George

        Activity

          People

            larsgeorge Lars George
            larsgeorge Lars George
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: