sijie commented on a change in pull request #948: ISSUE #947: ZK configs for 
LocalBookkeeper
URL: https://github.com/apache/bookkeeper/pull/948#discussion_r159824386
 
 

 ##########
 File path: 
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
 ##########
 @@ -280,11 +291,19 @@ static void 
startLocalBookiesInternal(ServerConfiguration conf,
         List<File> bkTmpDirs = null;
         try {
             if (shouldStartZK) {
-                zkTmpDir = IOUtils.createTempDir("zookeeper", dirSuffix);
+                if (null == zkDataDir) {
+                    zkTmpDir = IOUtils.createTempDir("zookeeper", dirSuffix);
 
 Review comment:
   any reason why you are using two different createTempDir method here? is 
`IOUtils.createTempDir` not enough?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to