HBASE-8349 TestLogRolling#testLogRollOnDatanodeDeath hangs under hadoop2 profile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1468564 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a00785136b
commit
c2bb416c71
|
@ -94,6 +94,10 @@ public class TestLogRolling {
|
||||||
// to the HDFS & HBase cluster startup.
|
// to the HDFS & HBase cluster startup.
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setUpBeforeClass() throws Exception {
|
public static void setUpBeforeClass() throws Exception {
|
||||||
|
// TODO: testLogRollOnDatanodeDeath fails if short circuit reads are on under the hadoop2
|
||||||
|
// profile. See HBASE-9337 for related issues.
|
||||||
|
System.setProperty("hbase.tests.use.shortcircuit.reads", "false");
|
||||||
|
|
||||||
/**** configuration for testLogRolling ****/
|
/**** configuration for testLogRolling ****/
|
||||||
// Force a region split after every 768KB
|
// Force a region split after every 768KB
|
||||||
TEST_UTIL.getConfiguration().setLong(HConstants.HREGION_MAX_FILESIZE, 768L * 1024L);
|
TEST_UTIL.getConfiguration().setLong(HConstants.HREGION_MAX_FILESIZE, 768L * 1024L);
|
||||||
|
|
Loading…
Reference in New Issue