HBASE-930 RegionServer stuck: HLog: Could not append. Requesting close of log java.io.IOException: Could not get block locations. Aborting...; fix java 1.6ism
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/branches/0.18@705107 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8dcc95d790
commit
1f66d54b5d
|
@ -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);
|
||||
flce.initCause(e);
|
||||
throw flce;
|
||||
}
|
||||
Path p = computeFilename(old_filenum);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
|
|
Loading…
Reference in New Issue