mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-358 use getRelativeDir instead of getString
This commit is contained in:
parent
98b784c108
commit
0046d36079
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ public class ZeppelinServer extends Application {
|
|||
} else {
|
||||
// use packaged WAR
|
||||
webApp.setWar(warPath.getAbsolutePath());
|
||||
File warTempDirectory = new File(conf.getString(ConfVars.ZEPPELIN_WAR_TEMPDIR));
|
||||
File warTempDirectory = new File(conf.getRelativeDir(ConfVars.ZEPPELIN_WAR_TEMPDIR));
|
||||
warTempDirectory.mkdir();
|
||||
LOG.info("ZeppelinServer Webapp path: {}", warTempDirectory.getPath());
|
||||
webApp.setTempDirectory(warTempDirectory);
|
||||
|
|
|
|||
Loading…
Reference in a new issue