We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87172a commit 16ca56eCopy full SHA for 16ca56e
external/storm-hdfs-oci/src/main/java/org/apache/storm/container/oci/HdfsOciResourcesLocalizer.java
@@ -89,7 +89,7 @@ public synchronized String localize(OciResource ociResource) throws IOException
89
// this allows the operation to be atomic in case the supervisor dies.
90
File workingDir = new File(dst.getParent() + "/working");
91
if (!workingDir.exists()) {
92
- boolean dirCreated = workingDir.mkdir();
+ boolean dirCreated = workingDir.mkdirs();
93
if (!dirCreated) {
94
throw new IOException("Couldn't create the directory: " + workingDir);
95
}
0 commit comments