HBASE-9294 NPE in /rs-status during RS shutdown

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1576953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2014-03-12 22:12:26 +00:00
parent d8ce8d0506
commit 748aaefb12
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}