HBASE-930 RegionServer stuck: HLog: Could not append. Requesting close of log java.io.IOException: Could not get block locations. Aborting...; WRONG - not a java 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@705136 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f69423a1d9
commit
ca07a6f30b
|
@ -35,12 +35,4 @@ class FailedLogCloseException extends IOException {
|
|||
public FailedLogCloseException(String arg0) {
|
||||
super(arg0);
|
||||
}
|
||||
|
||||
public FailedLogCloseException(Throwable arg0) {
|
||||
super(arg0);
|
||||
}
|
||||
|
||||
public FailedLogCloseException(String arg0, Throwable arg1) {
|
||||
super(arg0, arg1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -244,7 +244,10 @@ public class HLog implements HConstants {
|
|||
// Failed close of log file. Means we're losing edits. For now,
|
||||
// shut ourselves down to minimize loss. Alternative is to try and
|
||||
// keep going. See HBASE-930.
|
||||
throw new FailedLogCloseException("#" + this.filenum, e);
|
||||
FailedLogCloseException flce =
|
||||
new FailedLogCloseException("#" + this.filenum, e);
|
||||
flce.initCause(e):
|
||||
throw e;
|
||||
}
|
||||
Path p = computeFilename(old_filenum);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
|
|
Loading…
Reference in New Issue