HBASE-13831 TestHBaseFsck#testParallelHbck is flaky against hadoop 2.6+ (Stephen Jiang)
This commit is contained in:
parent
fad545652f
commit
e8e5a9f639
|
@ -575,6 +575,9 @@ public class TestHBaseFsck {
|
|||
public HBaseFsck call(){
|
||||
Configuration c = new Configuration(conf);
|
||||
c.setInt("hbase.hbck.lockfile.attempts", 1);
|
||||
// HBASE-13574 found that in HADOOP-2.6 and later, the create file would internally retry.
|
||||
// To avoid flakiness of the test, set low max wait time.
|
||||
c.setInt("hbase.hbck.lockfile.maxwaittime", 3);
|
||||
try{
|
||||
return doFsck(c, false);
|
||||
} catch(Exception e){
|
||||
|
|
Loading…
Reference in New Issue