[HUDI-2031] JVM occasionally crashes during compaction when spark speculative execution is enabled (#3093)
* unit tests added
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user