diff --git a/src/webapps/master/WEB-INF/web.xml b/src/webapps/master/WEB-INF/web.xml index 3fe49cdcded..8c08937f719 100644 --- a/src/webapps/master/WEB-INF/web.xml +++ b/src/webapps/master/WEB-INF/web.xml @@ -9,11 +9,6 @@ Automatically created by Tomcat JspC. - - org.apache.hadoop.hbase.generated.master.table_jsp - org.apache.hadoop.hbase.generated.master.table_jsp - - org.apache.hadoop.hbase.generated.master.hql_jsp org.apache.hadoop.hbase.generated.master.hql_jsp @@ -24,10 +19,10 @@ Automatically created by Tomcat JspC. org.apache.hadoop.hbase.generated.master.master_jsp - + org.apache.hadoop.hbase.generated.master.table_jsp - /table.jsp - + org.apache.hadoop.hbase.generated.master.table_jsp + org.apache.hadoop.hbase.generated.master.hql_jsp @@ -39,5 +34,10 @@ Automatically created by Tomcat JspC. /master.jsp + + org.apache.hadoop.hbase.generated.master.table_jsp + /table.jsp + + diff --git a/src/webapps/master/table.jsp b/src/webapps/master/table.jsp index 76a357d3ab8..5e6d5557cf0 100644 --- a/src/webapps/master/table.jsp +++ b/src/webapps/master/table.jsp @@ -57,7 +57,7 @@ <% for(Map.Entry hriEntry : regions.entrySet()) { %> <% System.out.println(serverToServerInfos.keySet().toArray()[0].toString()); System.out.println(hriEntry.getValue().getHostname()+":"+hriEntry.getValue().getPort()); - int infoPort = serverToServerInfos.get(hriEntry.getValue().getHostname()+":"+hriEntry.getValue().getPort()).getInfoPort(); + int infoPort = serverToServerInfos.get(hriEntry.getValue().getBindAddress()+":"+hriEntry.getValue().getPort()).getInfoPort(); String url = "http://" + hriEntry.getValue().getHostname().toString() + ":" + infoPort + "/"; %> <%= hriEntry.getKey().getRegionName()%><%= hriEntry.getValue().getHostname() %>:<%= hriEntry.getValue().getPort() %> <%= hriEntry.getKey().getEncodedName()%> <%= hriEntry.getKey().getStartKey()%>