diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java index f7dfe5d5405..f94f53f412b 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java @@ -53,7 +53,7 @@ public class RSStatusServlet extends HttpServlet { tmpl.setFormat(req.getParameter("format")); if (req.getParameter("filter") != null) tmpl.setFilter(req.getParameter("filter")); - tmpl.render(resp.getWriter(), hrs); + if (hrs != null) tmpl.render(resp.getWriter(), hrs); } }