HBASE-7636 TestDistributedLogSplitting#testThreeRSAbort fails against hadoop 2.0

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1467426 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2013-04-12 19:14:22 +00:00
parent 3f02824c46
commit 3f2eb3ae16
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ public class TestDistributedLogSplitting {
private static final Log LOG = LogFactory.getLog(TestSplitLogManager.class);
static {
Logger.getLogger("org.apache.hadoop.hbase").setLevel(Level.DEBUG);
// test ThreeRSAbort fails under hadoop2 (2.0.2-alpha) if shortcircuit-read (scr) is on. this
// turns it off for this test. TODO: Figure out why scr breaks recovery.
System.setProperty("hbase.tests.use.shortcircuit.reads", "false");
}
// Start a cluster with 2 masters and 6 regionservers