From 360baf9dd6869aeef66f411e645f4e4e970963af 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 a61b57285c9..b8702b9e816 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 @@ -74,6 +74,9 @@ public class TestExportSnapshotAdjunct { 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; }