hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-13831 TestHBaseFsck#testParallelHbck is flaky against hadoop 2.6+ (Stephen Jiang)
Date Wed, 03 Jun 2015 22:46:45 GMT
Repository: hbase
Updated Branches:
  refs/heads/master fad545652 -> e8e5a9f63


HBASE-13831 TestHBaseFsck#testParallelHbck is flaky against hadoop 2.6+ (Stephen Jiang)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e8e5a9f6
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e8e5a9f6
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e8e5a9f6

Branch: refs/heads/master
Commit: e8e5a9f6398f5a99f1d89be359212a7a4f1d7b05
Parents: fad5456
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Jun 3 15:46:22 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Jun 3 15:46:22 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e8e5a9f6/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
index 95d2177..0ff87af 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java
@@ -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){


Mime
View raw message