hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1576952 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java
Date Wed, 12 Mar 2014 22:12:11 GMT
Author: stack
Date: Wed Mar 12 22:12:11 2014
New Revision: 1576952

URL: http://svn.apache.org/r1576952
Log:
HBASE-9294 NPE in /rs-status during RS shutdown

Modified:
    hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java?rev=1576952&r1=1576951&r2=1576952&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java
(original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSStatusServlet.java
Wed Mar 12 22:12:11 2014
@@ -53,7 +53,7 @@ public class RSStatusServlet extends Htt
       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);
   }
 
 }



Mime
View raw message