Skip to content

Commit

Permalink
Fix Presto on Spark failure during startup
Browse files Browse the repository at this point in the history
Presto on Spark fails on injecting a temporary storage as one not being
initialized
  • Loading branch information
arhimondr committed Apr 13, 2021
1 parent 8803df3 commit 94942fb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {
Expand Down

0 comments on commit 94942fb

Please sign in to comment.