From 411c083f221862b05ca1e274bc0ba3c58de5b969 Mon Sep 17 00:00:00 2001 From: stack Date: Wed, 15 Apr 2020 22:42:09 -0700 Subject: [PATCH] HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException Addendum #2: The new test fails on origin.hbase.dir written by HTU up on jenkins... has a 'tmp' in it. Fix. --- .../hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java index cf8751ce0624..10bf10cd7731 100644 --- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java +++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshotAdjunct.java @@ -73,6 +73,9 @@ public static void setUpBeforeClass() throws Exception { Configuration conf = TEST_UTIL.getConfiguration(); for (Iterator> i = conf.iterator(); i.hasNext();) { Map.Entry e = i.next(); + if (e.getKey().contains("original.hbase.dir")) { + continue; + } if (e.getValue().contains("java.io.tmpdir")) { continue; }