HBASE-1132 Can't append to HLog, can't roll log, infinite cycle (another spin on HBASE-930)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@735555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5cc3e796fd
commit
029b37eade
|
@ -145,6 +145,8 @@ Release 0.19.0 - Unreleased
|
||||||
not already marked as pending close
|
not already marked as pending close
|
||||||
HBASE-1124 Balancer kicks in way too early
|
HBASE-1124 Balancer kicks in way too early
|
||||||
HBASE-1127 OOME running randomRead PE
|
HBASE-1127 OOME running randomRead PE
|
||||||
|
HBASE-1132 Can't append to HLog, can't roll log, infinite cycle (another
|
||||||
|
spin on HBASE-930)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-901 Add a limit to key length, check key and value length on client side
|
HBASE-901 Add a limit to key length, check key and value length on client side
|
||||||
|
|
|
@ -68,14 +68,18 @@ 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.checkFileSystem();
|
||||||
server.abort();
|
server.abort();
|
||||||
} catch (java.net.ConnectException e) {
|
} catch (java.net.ConnectException e) {
|
||||||
LOG.fatal("Forcing server shutdown", e);
|
LOG.fatal("Forcing server shutdown", e);
|
||||||
|
server.checkFileSystem();
|
||||||
server.abort();
|
server.abort();
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
LOG.error("Log rolling failed with ioe: ",
|
LOG.fatal("Log rolling failed with ioe: ",
|
||||||
RemoteExceptionHandler.checkIOException(ex));
|
RemoteExceptionHandler.checkIOException(ex));
|
||||||
server.checkFileSystem();
|
server.checkFileSystem();
|
||||||
|
// Abort if we get here. We probably won't recover an IOE. HBASE-1132
|
||||||
|
server.abort();
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
LOG.error("Log rolling failed", ex);
|
LOG.error("Log rolling failed", ex);
|
||||||
server.checkFileSystem();
|
server.checkFileSystem();
|
||||||
|
|
Loading…
Reference in New Issue