You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by go...@apache.org on 2017/08/30 17:17:05 UTC
incubator-slider git commit: Revert "SLIDER-1241
ApplicationWithAddonPackagesIT tests fail in WASB due to HDFS mkdirs API not
adhering to "mkdir -p" semantics"
Repository: incubator-slider
Updated Branches:
refs/heads/develop 3fc1cbc91 -> 0ef2105f4
Revert "SLIDER-1241 ApplicationWithAddonPackagesIT tests fail in WASB due to HDFS mkdirs API not adhering to "mkdir -p" semantics"
This reverts commit 6ecd0b0a40161694366152881189163902c1d4bb.
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/0ef2105f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/0ef2105f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/0ef2105f
Branch: refs/heads/develop
Commit: 0ef2105f460fb0c5d73e3be4d0cf7400fc697069
Parents: 3fc1cbc
Author: Gour Saha <go...@apache.org>
Authored: Wed Aug 30 10:16:29 2017 -0700
Committer: Gour Saha <go...@apache.org>
Committed: Wed Aug 30 10:16:29 2017 -0700
----------------------------------------------------------------------
.../coprocessors/ApplicationWithAddonPackagesIT.groovy | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/0ef2105f/slider-funtest/src/test/groovy/org/apache/slider/funtest/coprocessors/ApplicationWithAddonPackagesIT.groovy
----------------------------------------------------------------------
diff --git a/slider-funtest/src/test/groovy/org/apache/slider/funtest/coprocessors/ApplicationWithAddonPackagesIT.groovy b/slider-funtest/src/test/groovy/org/apache/slider/funtest/coprocessors/ApplicationWithAddonPackagesIT.groovy
index c8f20c0..20ff75c 100644
--- a/slider-funtest/src/test/groovy/org/apache/slider/funtest/coprocessors/ApplicationWithAddonPackagesIT.groovy
+++ b/slider-funtest/src/test/groovy/org/apache/slider/funtest/coprocessors/ApplicationWithAddonPackagesIT.groovy
@@ -18,7 +18,6 @@ package org.apache.slider.funtest.coprocessors
import groovy.transform.CompileStatic
import groovy.util.logging.Slf4j
-import java.io.IOException;
import org.apache.hadoop.fs.Path
import org.apache.slider.common.params.Arguments
import org.apache.slider.common.tools.SliderUtils
@@ -58,11 +57,7 @@ public class ApplicationWithAddonPackagesIT extends AgentCommandTestBase{
public void prepareCluster() {
setupCluster(CLUSTER)
cleanupHdfsFile(TARGET_FILE)
- try {
- clusterFS.mkdirs(new Path(TARGET_FILE).getParent())
- } catch (IOException e) {
- // if dir exists then ignore
- }
+ clusterFS.mkdirs(new Path(TARGET_FILE).getParent())
}
@After
@@ -243,4 +238,4 @@ public class ApplicationWithAddonPackagesIT extends AgentCommandTestBase{
awaitTargetFileExists()
}
-}
+}
\ No newline at end of file