diff --git a/presto-spark-base/src/main/java/com/facebook/presto/spark/PrestoSparkInjectorFactory.java b/presto-spark-base/src/main/java/com/facebook/presto/spark/PrestoSparkInjectorFactory.java index 63c1f24fb8ab..94523a1c7f2b 100644 --- a/presto-spark-base/src/main/java/com/facebook/presto/spark/PrestoSparkInjectorFactory.java +++ b/presto-spark-base/src/main/java/com/facebook/presto/spark/PrestoSparkInjectorFactory.java @@ -185,6 +185,9 @@ public Injector create() if (tempStorageProperties.isPresent()) { injector.getInstance(TempStorageManager.class).loadTempStorages(tempStorageProperties.get()); } + else { + injector.getInstance(TempStorageManager.class).loadTempStorages(); + } } if ((sparkProcessType.equals(DRIVER))) {