eolivelli commented on a change in pull request #1620:
URL: https://github.com/apache/zookeeper/pull/1620#discussion_r589588606



##########
File path: 
zookeeper-contrib/zookeeper-contrib-rest/src/main/java/org/apache/zookeeper/server/jersey/RestMain.java
##########
@@ -53,7 +53,7 @@ public void start() throws IOException {
        System.out.println("Starting grizzly ...");
 
        boolean useSSL = cfg.useSSL();
-       gws = new GrizzlyWebServer(cfg.getPort(), "/tmp/23cxv45345/2131xc2/", 
useSSL);
+       gws = new GrizzlyWebServer(cfg.getPort(), 
System.getProperty("java.io.tmpdir","/tmp") + "/23cxv45345/2131xc2/", useSSL);

Review comment:
       Then I don't understand why we want to use tmpdir. It contains ephemeral 
files, that won't be present at the next execution of the program. 
   
   I thought we just had to set some existing directory, without any particular 
meaning




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to