diff --git a/hbase-server/src/main/resources/hbase-webapps/regionserver/region.jsp b/hbase-server/src/main/resources/hbase-webapps/regionserver/region.jsp index 382783ea4ba..8183c69bcb5 100644 --- a/hbase-server/src/main/resources/hbase-webapps/regionserver/region.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/regionserver/region.jsp @@ -32,13 +32,8 @@ HRegionServer rs = (HRegionServer) getServletContext().getAttribute(HRegionServer.REGIONSERVER); Region region = rs.getRegion(regionName); - String displayName; - if (region != null) { - displayName = RegionInfoDisplay.getRegionNameAsStringForDisplay(region.getRegionInfo(), - rs.getConfiguration()); - } else { - displayName = "region {" + regionName + "} is not currently online on this region server"; - } + String displayName = RegionInfoDisplay.getRegionNameAsStringForDisplay(region.getRegionInfo(), + rs.getConfiguration()); pageContext.setAttribute("pageTitle", "HBase RegionServer: " + rs.getServerName()); %>