HBASE-8477 [hadoop2] TestTableInputFormatScan* fails intermittently with PriviledgeActionException

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1478281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2013-05-02 06:29:02 +00:00
parent baf55c6e8a
commit 1ac7bd3d92
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,10 @@ public abstract class TestTableInputFormatScanBase {
@BeforeClass
public static void setUpBeforeClass() throws Exception {
// test intermittently 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");
// switch TIF to log at DEBUG level
TEST_UTIL.enableDebug(TableInputFormat.class);
TEST_UTIL.enableDebug(TableInputFormatBase.class);