HBASE-2491 master.jsp uses absolute links to table.jsp. This broke when master.jsp moved under webapps/master

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@938217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-04-26 20:05:11 +00:00
parent cc956afc20
commit 5bab1bdcfb
2 changed files with 5 additions and 3 deletions

View File

@ -289,6 +289,8 @@ Release 0.21.0 - Unreleased
being eaten (Jean-Daniel Cryans via Stack)
HBASE-2448 Scanner threads are interrupted without acquiring lock properly
(Todd Lipcon via Stack)
HBASE-2491 master.jsp uses absolute links to table.jsp. This broke when
master.jsp moved under webapps/master(Cristian Ivascu via Stack)
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable

View File

@ -77,7 +77,7 @@
<th>Description</th>
</tr>
<tr>
<td><a href="/table.jsp?name=<%= Bytes.toString(HConstants.ROOT_TABLE_NAME) %>"><%= Bytes.toString(HConstants.ROOT_TABLE_NAME) %></a></td>
<td><a href="table.jsp?name=<%= Bytes.toString(HConstants.ROOT_TABLE_NAME) %>"><%= Bytes.toString(HConstants.ROOT_TABLE_NAME) %></a></td>
<% if (showFragmentation) { %>
<td align="center"><%= frags.get("-ROOT-") != null ? frags.get("-ROOT-").intValue() + "%" : "n/a" %></td>
<% } %>
@ -86,7 +86,7 @@
<%
if (onlineRegions != null && onlineRegions.size() > 0) { %>
<tr>
<td><a href="/table.jsp?name=<%= Bytes.toString(HConstants.META_TABLE_NAME) %>"><%= Bytes.toString(HConstants.META_TABLE_NAME) %></a></td>
<td><a href="table.jsp?name=<%= Bytes.toString(HConstants.META_TABLE_NAME) %>"><%= Bytes.toString(HConstants.META_TABLE_NAME) %></a></td>
<% if (showFragmentation) { %>
<td align="center"><%= frags.get(".META.") != null ? frags.get(".META.").intValue() + "%" : "n/a" %></td>
<% } %>
@ -110,7 +110,7 @@
</tr>
<% for(HTableDescriptor htDesc : tables ) { %>
<tr>
<td><a href=/table.jsp?name=<%= htDesc.getNameAsString() %>><%= htDesc.getNameAsString() %></a> </td>
<td><a href=table.jsp?name=<%= htDesc.getNameAsString() %>><%= htDesc.getNameAsString() %></a> </td>
<% if (showFragmentation) { %>
<td align="center"><%= frags.get(htDesc.getNameAsString()) != null ? frags.get(htDesc.getNameAsString()).intValue() + "%" : "n/a" %></td>
<% } %>