HBASE-23 Fix bug introduced by my edits of JDC's patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656456 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
822ba8bc3b
commit
99fc06705d
|
@ -9,11 +9,6 @@ Automatically created by Tomcat JspC.
|
||||||
<web-app>
|
<web-app>
|
||||||
|
|
||||||
|
|
||||||
<servlet>
|
|
||||||
<servlet-name>org.apache.hadoop.hbase.generated.master.table_jsp</servlet-name>
|
|
||||||
<servlet-class>org.apache.hadoop.hbase.generated.master.table_jsp</servlet-class>
|
|
||||||
</servlet>
|
|
||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>org.apache.hadoop.hbase.generated.master.hql_jsp</servlet-name>
|
<servlet-name>org.apache.hadoop.hbase.generated.master.hql_jsp</servlet-name>
|
||||||
<servlet-class>org.apache.hadoop.hbase.generated.master.hql_jsp</servlet-class>
|
<servlet-class>org.apache.hadoop.hbase.generated.master.hql_jsp</servlet-class>
|
||||||
|
@ -24,10 +19,10 @@ Automatically created by Tomcat JspC.
|
||||||
<servlet-class>org.apache.hadoop.hbase.generated.master.master_jsp</servlet-class>
|
<servlet-class>org.apache.hadoop.hbase.generated.master.master_jsp</servlet-class>
|
||||||
</servlet>
|
</servlet>
|
||||||
|
|
||||||
<servlet-mapping>
|
<servlet>
|
||||||
<servlet-name>org.apache.hadoop.hbase.generated.master.table_jsp</servlet-name>
|
<servlet-name>org.apache.hadoop.hbase.generated.master.table_jsp</servlet-name>
|
||||||
<url-pattern>/table.jsp</url-pattern>
|
<servlet-class>org.apache.hadoop.hbase.generated.master.table_jsp</servlet-class>
|
||||||
</servlet-mapping>
|
</servlet>
|
||||||
|
|
||||||
<servlet-mapping>
|
<servlet-mapping>
|
||||||
<servlet-name>org.apache.hadoop.hbase.generated.master.hql_jsp</servlet-name>
|
<servlet-name>org.apache.hadoop.hbase.generated.master.hql_jsp</servlet-name>
|
||||||
|
@ -39,5 +34,10 @@ Automatically created by Tomcat JspC.
|
||||||
<url-pattern>/master.jsp</url-pattern>
|
<url-pattern>/master.jsp</url-pattern>
|
||||||
</servlet-mapping>
|
</servlet-mapping>
|
||||||
|
|
||||||
|
<servlet-mapping>
|
||||||
|
<servlet-name>org.apache.hadoop.hbase.generated.master.table_jsp</servlet-name>
|
||||||
|
<url-pattern>/table.jsp</url-pattern>
|
||||||
|
</servlet-mapping>
|
||||||
|
|
||||||
</web-app>
|
</web-app>
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<% for(Map.Entry<HRegionInfo, HServerAddress> hriEntry : regions.entrySet()) { %>
|
<% for(Map.Entry<HRegionInfo, HServerAddress> hriEntry : regions.entrySet()) { %>
|
||||||
<% System.out.println(serverToServerInfos.keySet().toArray()[0].toString());
|
<% System.out.println(serverToServerInfos.keySet().toArray()[0].toString());
|
||||||
System.out.println(hriEntry.getValue().getHostname()+":"+hriEntry.getValue().getPort());
|
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 + "/"; %>
|
String url = "http://" + hriEntry.getValue().getHostname().toString() + ":" + infoPort + "/"; %>
|
||||||
<tr><td><%= hriEntry.getKey().getRegionName()%></td><td><a href="<%= url %>"><%= hriEntry.getValue().getHostname() %>:<%= hriEntry.getValue().getPort() %></a></td>
|
<tr><td><%= hriEntry.getKey().getRegionName()%></td><td><a href="<%= url %>"><%= hriEntry.getValue().getHostname() %>:<%= hriEntry.getValue().getPort() %></a></td>
|
||||||
<td><%= hriEntry.getKey().getEncodedName()%></td> <td><%= hriEntry.getKey().getStartKey()%></td>
|
<td><%= hriEntry.getKey().getEncodedName()%></td> <td><%= hriEntry.getKey().getStartKey()%></td>
|
||||||
|
|
Loading…
Reference in New Issue