[02/35] hadoop git commit: MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun Signed-off-by: Akira Ajisaka Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e99a1e77 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e99a1e77 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e99a1e77 Branch: refs/heads/HDFS-7240 Commit: e99a1e77671fa0e74a652bc2221bbe01d1a579d3 Parents: 432cd74 Author: Gergely Novák Authored: Fri Mar 2 16:15:04 2018 -0800 Committer: Akira Ajisaka Committed: Fri Mar 2 16:15:04 2018 -0800 -- .../test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e99a1e77/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java -- diff --git a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java index 5b6062b..423f3f1 100644 --- a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java +++ b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java @@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs { Path rootLogDir = new Path("target", "logs"); String suffix = "logs"; Path logDir = new Path(rootLogDir, new Path(USER, suffix)); +fs.delete(logDir, true); +Assert.assertFalse(fs.exists(logDir)); fs.mkdirs(logDir); // no files found - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org
hadoop git commit: MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Repository: hadoop Updated Branches: refs/heads/branch-2.9 2d313c826 -> bea5dff7b MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun Signed-off-by: Akira Ajisaka (cherry picked from commit e99a1e77671fa0e74a652bc2221bbe01d1a579d3) (cherry picked from commit 278676508f8a56f3582aaabf7b60099864dc7587) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/bea5dff7 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/bea5dff7 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/bea5dff7 Branch: refs/heads/branch-2.9 Commit: bea5dff7b38eb12019f65a54c8ea0e570f3091d7 Parents: 2d313c8 Author: Gergely Novák Authored: Fri Mar 2 16:15:04 2018 -0800 Committer: Akira Ajisaka Committed: Fri Mar 2 16:22:49 2018 -0800 -- .../test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/bea5dff7/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java -- diff --git a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java index 3a605f7..6c3dda6 100644 --- a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java +++ b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java @@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs { Path rootLogDir = new Path("target", "logs"); String suffix = "logs"; Path logDir = new Path(rootLogDir, new Path(USER, suffix)); +fs.delete(logDir, true); +Assert.assertFalse(fs.exists(logDir)); fs.mkdirs(logDir); // no files found - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org
hadoop git commit: MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Repository: hadoop Updated Branches: refs/heads/branch-2 0a3a87842 -> 278676508 MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun Signed-off-by: Akira Ajisaka (cherry picked from commit e99a1e77671fa0e74a652bc2221bbe01d1a579d3) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/27867650 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/27867650 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/27867650 Branch: refs/heads/branch-2 Commit: 278676508f8a56f3582aaabf7b60099864dc7587 Parents: 0a3a878 Author: Gergely Novák Authored: Fri Mar 2 16:15:04 2018 -0800 Committer: Akira Ajisaka Committed: Fri Mar 2 16:22:20 2018 -0800 -- .../test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/27867650/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java -- diff --git a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java index 3a605f7..6c3dda6 100644 --- a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java +++ b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java @@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs { Path rootLogDir = new Path("target", "logs"); String suffix = "logs"; Path logDir = new Path(rootLogDir, new Path(USER, suffix)); +fs.delete(logDir, true); +Assert.assertFalse(fs.exists(logDir)); fs.mkdirs(logDir); // no files found - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org
hadoop git commit: MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Repository: hadoop Updated Branches: refs/heads/branch-3.0 7c224656c -> 8b9a7b2e4 MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun Signed-off-by: Akira Ajisaka (cherry picked from commit e99a1e77671fa0e74a652bc2221bbe01d1a579d3) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8b9a7b2e Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8b9a7b2e Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8b9a7b2e Branch: refs/heads/branch-3.0 Commit: 8b9a7b2e480201c59ac7f1abb803bd4dbda550be Parents: 7c22465 Author: Gergely Novák Authored: Fri Mar 2 16:15:04 2018 -0800 Committer: Akira Ajisaka Committed: Fri Mar 2 16:22:06 2018 -0800 -- .../test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/8b9a7b2e/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java -- diff --git a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java index 5b6062b..423f3f1 100644 --- a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java +++ b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java @@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs { Path rootLogDir = new Path("target", "logs"); String suffix = "logs"; Path logDir = new Path(rootLogDir, new Path(USER, suffix)); +fs.delete(logDir, true); +Assert.assertFalse(fs.exists(logDir)); fs.mkdirs(logDir); // no files found - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org
hadoop git commit: MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Repository: hadoop Updated Branches: refs/heads/branch-3.1 9e5ac217a -> 162e99c69 MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun Signed-off-by: Akira Ajisaka (cherry picked from commit e99a1e77671fa0e74a652bc2221bbe01d1a579d3) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/162e99c6 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/162e99c6 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/162e99c6 Branch: refs/heads/branch-3.1 Commit: 162e99c6966ecf50998cdd7548f8b64fd677fe9e Parents: 9e5ac21 Author: Gergely Novák Authored: Fri Mar 2 16:15:04 2018 -0800 Committer: Akira Ajisaka Committed: Fri Mar 2 16:21:41 2018 -0800 -- .../test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/162e99c6/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java -- diff --git a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java index 5b6062b..423f3f1 100644 --- a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java +++ b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java @@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs { Path rootLogDir = new Path("target", "logs"); String suffix = "logs"; Path logDir = new Path(rootLogDir, new Path(USER, suffix)); +fs.delete(logDir, true); +Assert.assertFalse(fs.exists(logDir)); fs.mkdirs(logDir); // no files found - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org
hadoop git commit: MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun
Repository: hadoop Updated Branches: refs/heads/trunk 432cd74c7 -> e99a1e776 MAPREDUCE-7023. TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun Signed-off-by: Akira Ajisaka Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e99a1e77 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e99a1e77 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e99a1e77 Branch: refs/heads/trunk Commit: e99a1e77671fa0e74a652bc2221bbe01d1a579d3 Parents: 432cd74 Author: Gergely Novák Authored: Fri Mar 2 16:15:04 2018 -0800 Committer: Akira Ajisaka Committed: Fri Mar 2 16:15:04 2018 -0800 -- .../test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e99a1e77/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java -- diff --git a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java index 5b6062b..423f3f1 100644 --- a/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java +++ b/hadoop-tools/hadoop-archive-logs/src/test/java/org/apache/hadoop/tools/TestHadoopArchiveLogs.java @@ -61,6 +61,8 @@ public class TestHadoopArchiveLogs { Path rootLogDir = new Path("target", "logs"); String suffix = "logs"; Path logDir = new Path(rootLogDir, new Path(USER, suffix)); +fs.delete(logDir, true); +Assert.assertFalse(fs.exists(logDir)); fs.mkdirs(logDir); // no files found - To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org