This is an automated email from the ASF dual-hosted git repository.
jiajunwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git
The following commit(s) were added to refs/heads/master by this push:
new f4b8569 [HELIX-815] fix bug to avoid potential crash
f4b8569 is described below
commit f4b85691441d30fade4b9d9a3f85930399e7dbf7
Author: bd2019us <[email protected]>
AuthorDate: Sun Mar 31 14:43:06 2019 -0500
[HELIX-815] fix bug to avoid potential crash
---
.../src/main/java/org/apache/helix/tools/commandtools/ZkGrep.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/helix-core/src/main/java/org/apache/helix/tools/commandtools/ZkGrep.java
b/helix-core/src/main/java/org/apache/helix/tools/commandtools/ZkGrep.java
index b42bdd2..bb8b670 100644
--- a/helix-core/src/main/java/org/apache/helix/tools/commandtools/ZkGrep.java
+++ b/helix-core/src/main/java/org/apache/helix/tools/commandtools/ZkGrep.java
@@ -581,7 +581,7 @@ public class ZkGrep {
File zkParsedDir = new File(String.format("%s/zklog-parsed",
System.getProperty("user.home")));
if (!zkParsedDir.exists()) {
LOG.info("creating zklog-parsed dir: " + zkParsedDir.getAbsolutePath());
- zkParsedDir.mkdir();
+ zkParsedDir.mkdirs();
}
if (cmd.hasOption(between)) {