HBASE-1855 HMaster web application doesn't show the region end key in the table detail page

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@819070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2009-09-25 23:40:28 +00:00
parent 3da4b6ff0d
commit aa7d11ab0b
3 changed files with 10 additions and 1 deletions

View File

@ -80,6 +80,8 @@ Release 0.21.0 - Unreleased
HBASE-1854 Remove the Region Historian
HBASE-1860 Change HTablePool#createHTable from private to protected
HBASE-48 Bulk load tools
HBASE-1855 HMaster web application doesn't show the region end key in the
table detail page (Andrei Dragomir via Stack)
OPTIMIZATIONS

View File

@ -62,6 +62,13 @@ public class MetaRegion implements Comparable<MetaRegion> {
return regionInfo.getStartKey();
}
/** @return the endKey */
public byte [] getEndKey() {
return regionInfo.getEndKey();
}
public HRegionInfo getRegionInfo() {
return regionInfo;
}

View File

@ -110,7 +110,7 @@
<tr>
<td><%= Bytes.toString(meta.getRegionName()) %></td>
<td><a href="<%= url %>"><%= meta.getServer().getHostname().toString() + ":" + infoPort %></a></td>
<td>-</td><td><%= Bytes.toString(meta.getStartKey()) %></td><td>-</td>
<td>-</td><td><%= Bytes.toString(meta.getStartKey()) %></td><td><%= Bytes.toString(meta.getEndKey()) %></td>
</tr>
<% } %>
</table>