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

Key: HBASE-1209
URL: https://issues.apache.org/jira/browse/HBASE-1209
Project: Hadoop HBase
Issue Type: Bug
Affects Versions: 0.19.0
Reporter: Lars George
Priority: Trivial


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 + "/";



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • stack (JIRA) at Feb 22, 2009 at 1:10 am
    [ https://issues.apache.org/jira/browse/HBASE-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    stack reassigned HBASE-1209:
    ----------------------------

    Assignee: Lars George
    Make port displayed the same as is used in URL for RegionServer table in UI
    ---------------------------------------------------------------------------

    Key: HBASE-1209
    URL: https://issues.apache.org/jira/browse/HBASE-1209
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0
    Reporter: Lars George
    Assignee: Lars George
    Priority: Trivial

    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 + "/";
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lars George (JIRA) at Feb 22, 2009 at 1:46 am
    [ https://issues.apache.org/jira/browse/HBASE-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Lars George updated HBASE-1209:
    -------------------------------

    Attachment: 1209.patch

    Patch for port mismatch issue.
    Make port displayed the same as is used in URL for RegionServer table in UI
    ---------------------------------------------------------------------------

    Key: HBASE-1209
    URL: https://issues.apache.org/jira/browse/HBASE-1209
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0
    Reporter: Lars George
    Assignee: Lars George
    Priority: Trivial
    Attachments: 1209.patch


    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 + "/";
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • stack (JIRA) at Feb 26, 2009 at 5:51 pm
    [ https://issues.apache.org/jira/browse/HBASE-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    stack resolved HBASE-1209.
    --------------------------

    Resolution: Fixed
    Fix Version/s: 0.20.0

    Committed. Thanks for the patch Lars.
    Make port displayed the same as is used in URL for RegionServer table in UI
    ---------------------------------------------------------------------------

    Key: HBASE-1209
    URL: https://issues.apache.org/jira/browse/HBASE-1209
    Project: Hadoop HBase
    Issue Type: Bug
    Affects Versions: 0.19.0
    Reporter: Lars George
    Assignee: Lars George
    Priority: Trivial
    Fix For: 0.20.0

    Attachments: 1209.patch


    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 + "/";
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedFeb 22, '09 at 1:06a
activeFeb 26, '09 at 5:51p
posts4
users1
websitehbase.apache.org

1 user in discussion

stack (JIRA): 4 posts

People

Translate

site design / logo © 2022 Grokbase