HBASE-1087 DFS failures did not shutdown regionserver

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@729349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-12-24 18:18:49 +00:00
parent 9220e66c92
commit cda80c2f7b
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ class LogRoller extends Thread implements LogRollListener {
} catch (FailedLogCloseException e) { } catch (FailedLogCloseException e) {
LOG.fatal("Forcing server shutdown", e); LOG.fatal("Forcing server shutdown", e);
server.abort(); server.abort();
} catch (java.net.ConnectException e) {
LOG.fatal("Forcing server shutdown", e);
server.abort();
} catch (IOException ex) { } catch (IOException ex) {
LOG.error("Log rolling failed with ioe: ", LOG.error("Log rolling failed with ioe: ",
RemoteExceptionHandler.checkIOException(ex)); RemoteExceptionHandler.checkIOException(ex));