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:
parent
d8ce8d0506
commit
748aaefb12
|
@ -53,7 +53,7 @@ public class RSStatusServlet extends HttpServlet {
|
||||||
tmpl.setFormat(req.getParameter("format"));
|
tmpl.setFormat(req.getParameter("format"));
|
||||||
if (req.getParameter("filter") != null)
|
if (req.getParameter("filter") != null)
|
||||||
tmpl.setFilter(req.getParameter("filter"));
|
tmpl.setFilter(req.getParameter("filter"));
|
||||||
tmpl.render(resp.getWriter(), hrs);
|
if (hrs != null) tmpl.render(resp.getWriter(), hrs);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue