Skip to content
Browse files

Fixed #242.

TestDriver resolves working directory with user home directory.
  • Loading branch information...
1 parent 01b5543 commit b04ef50c488df5817232c54219ece2937d8860c0 @akirakw akirakw committed
View
2 ...g-project/asakusa-test-driver/src/main/java/com/asakusafw/testdriver/JobflowExecutor.java
@@ -90,7 +90,7 @@ public JobflowExecutor(TestDriverContext context) {
public void cleanWorkingDirectory() throws IOException {
Configuration conf = configurations.newInstance();
FileSystem fs = FileSystem.get(conf);
- Path path = new Path(fs.getHomeDirectory(), context.getClusterWorkDir());
+ Path path = new Path(context.getClusterWorkDir());
LOG.debug("クラスタワークディレクトリを初期化します。Path: {}", path);
fs.delete(path, true);
}

0 comments on commit b04ef50

Please sign in to comment.
Something went wrong with that request. Please try again.