HBASE-5137 MasterFileSystem.splitLog() should abort even if waitOnSafeMode() throws IOException(Ram & Ted)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1229649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ramkrishna 2012-01-10 17:33:49 +00:00
parent 296cf139aa
commit e06aaf4ecc
2 changed files with 3 additions and 1 deletions

View File

@ -475,6 +475,7 @@ Release 0.92.0 - Unreleased
HBASE-5088 A concurrency issue on SoftValueSortedMap (Jieshan Bean and Lars H) HBASE-5088 A concurrency issue on SoftValueSortedMap (Jieshan Bean and Lars H)
HBASE-5152 Region is on service before completing initialization when doing rollback of split, HBASE-5152 Region is on service before completing initialization when doing rollback of split,
it will affect read correctness (Chunhui) it will affect read correctness (Chunhui)
HBASE-5137 MasterFileSystem.splitLog() should abort even if waitOnSafeMode() throws IOException(Ted)
TESTS TESTS
HBASE-4450 test for number of blocks read: to serve as baseline for expected HBASE-4450 test for number of blocks read: to serve as baseline for expected

View File

@ -227,9 +227,10 @@ public class MasterFileSystem {
"hbase.hlog.split.failure.retry.interval", 30 * 1000)); "hbase.hlog.split.failure.retry.interval", 30 * 1000));
} }
} catch (InterruptedException e) { } catch (InterruptedException e) {
LOG.warn("Interrupted, returning w/o splitting at startup"); LOG.warn("Interrupted, aborting since cannot return w/o splitting");
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
retrySplitting = false; retrySplitting = false;
Runtime.getRuntime().halt(1);
} }
} }
} while (retrySplitting); } while (retrySplitting);