Skip to content

Commit

Permalink
HBASE-13831 TestHBaseFsck#testParallelHbck is flaky against hadoop 2.…
Browse files Browse the repository at this point in the history
…6+ (Stephen Jiang)
  • Loading branch information
tedyu committed Jun 3, 2015
1 parent fad5456 commit e8e5a9f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,9 @@ class RunHbck implements Callable<HBaseFsck>{
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){
Expand Down

0 comments on commit e8e5a9f

Please sign in to comment.