hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syuanji...@apache.org
Subject [12/26] hbase git commit: HBASE-14815 TestMobExportSnapshot.testExportFailure timeout occasionally (Heng Chen)
Date Thu, 19 Nov 2015 07:33:46 GMT
HBASE-14815 TestMobExportSnapshot.testExportFailure timeout occasionally (Heng Chen)


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

Branch: refs/heads/hbase-12439
Commit: b2187c31ab8294215aab46db5dcd3b0dce4fad65
Parents: 5ebd766
Author: stack <stack@apache.org>
Authored: Wed Nov 18 09:05:50 2015 -0800
Committer: stack <stack@apache.org>
Committed: Wed Nov 18 09:05:50 2015 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b2187c31/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
index 3e43224..d0b32f8 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
@@ -344,7 +344,9 @@ public class TestExportSnapshot {
     Configuration conf = new Configuration(TEST_UTIL.getConfiguration());
     conf.setBoolean(ExportSnapshot.CONF_TEST_FAILURE, true);
     conf.setBoolean(ExportSnapshot.CONF_TEST_RETRY, retry);
-
+    if (!retry) {
+      conf.setInt("mapreduce.map.maxattempts", 3);
+    }
     // Export Snapshot
     Path sourceDir = TEST_UTIL.getHBaseCluster().getMaster().getMasterFileSystem().getRootDir();
     int res = ExportSnapshot.innerMain(conf, new String[] {


Mime
View raw message