You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by pi...@apache.org on 2016/03/30 08:39:14 UTC

[20/40] incubator-tinkerpop git commit: made mkdir() to mkdirs() per @dkuppitz's request.

made mkdir() to mkdirs() per @dkuppitz's request.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/da791aa9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/da791aa9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/da791aa9

Branch: refs/heads/TINKERPOP-968
Commit: da791aa9b9c772050cf6c7797f28622b7663f1dc
Parents: cbd8200
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon Mar 28 18:17:46 2016 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon Mar 28 18:17:46 2016 -0600

----------------------------------------------------------------------
 .../hadoop/process/computer/AbstractHadoopGraphComputer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/da791aa9/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/AbstractHadoopGraphComputer.java
----------------------------------------------------------------------
diff --git a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/AbstractHadoopGraphComputer.java b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/AbstractHadoopGraphComputer.java
index 7659f0d..28dd7e5 100644
--- a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/AbstractHadoopGraphComputer.java
+++ b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/process/computer/AbstractHadoopGraphComputer.java
@@ -211,7 +211,7 @@ public abstract class AbstractHadoopGraphComputer implements GraphComputer {
             File file = new File(localDirectory);
             if ((Boolean.valueOf(System.getProperty("is.testing", "false")) || !file.exists()) && fileSystem.exists(new Path(localDirectory)) && fileSystem.isDirectory(new Path(localDirectory))) {
                 final File tempDirectory = new File(System.getProperty("java.io.tmpdir") + "/" + hadoopGremlinLibsRemote);
-                if (!tempDirectory.exists()) assert tempDirectory.mkdir();
+                if (!tempDirectory.exists()) assert tempDirectory.mkdirs();
                 final String tempPath = tempDirectory.getAbsolutePath() + "/" + new File(localDirectory).getName();
                 final RemoteIterator<LocatedFileStatus> files = fileSystem.listFiles(new Path(localDirectory), false);
                 while (files.hasNext()) {