Permalink
Browse files

Fixed #242.

TestDriver resolves working directory with user home directory.
  • Loading branch information...
akirakw committed Aug 23, 2012
1 parent 01b5543 commit b04ef50c488df5817232c54219ece2937d8860c0
@@ -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.