hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r729349 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
Date Wed, 24 Dec 2008 18:18:50 GMT
Author: stack
Date: Wed Dec 24 10:18:49 2008
New Revision: 729349

URL: http://svn.apache.org/viewvc?rev=729349&view=rev
Log:
HBASE-1087 DFS failures did not shutdown regionserver

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/LogRoller.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/LogRoller.java?rev=729349&r1=729348&r2=729349&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/LogRoller.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/LogRoller.java Wed Dec
24 10:18:49 2008
@@ -69,6 +69,9 @@
       } catch (FailedLogCloseException e) {
         LOG.fatal("Forcing server shutdown", e);
         server.abort();
+      } catch (java.net.ConnectException e) {
+        LOG.fatal("Forcing server shutdown", e);
+        server.abort();
       } catch (IOException ex) {
         LOG.error("Log rolling failed with ioe: ",
             RemoteExceptionHandler.checkIOException(ex));



Mime
View raw message