1
0

[HUDI-2031] JVM occasionally crashes during compaction when spark speculative execution is enabled (#3093)

* unit tests added
This commit is contained in:
Rong Ma
2021-06-22 09:09:51 +08:00
committed by GitHub
parent cb5cd35991
commit 7bd517a82f
2 changed files with 54 additions and 0 deletions

View File

@@ -139,6 +139,10 @@ public class BoundedInMemoryExecutor<I, O, E> {
Future<E> future = startConsumer();
// Wait for consumer to be done
return future.get();
} catch (InterruptedException ie) {
shutdownNow();
Thread.currentThread().interrupt();
throw new HoodieException(ie);
} catch (Exception e) {
throw new HoodieException(e);
}