You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars George (JIRA)" <ji...@apache.org> on 2009/02/22 02:06:01 UTC

[jira] Created: (HBASE-1209) Make port displayed the same as is used in URL for RegionServer table in UI

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.


[jira] Updated: (HBASE-1209) Make port displayed the same as is used in URL for RegionServer table in UI

Posted by "Lars George (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (HBASE-1209) Make port displayed the same as is used in URL for RegionServer table in UI

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (HBASE-1209) Make port displayed the same as is used in URL for RegionServer table in UI

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ 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.