We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c81059f commit 466989dCopy full SHA for 466989d
1 file changed
sdks/java/io/rrio/src/main/java/org/apache/beam/io/requestresponse/Call.java
@@ -535,6 +535,7 @@ public ResponseT call(RequestT request) throws UserCodeExecutionException {
535
try {
536
return future.get(timeout.getMillis(), TimeUnit.MILLISECONDS);
537
} catch (TimeoutException | InterruptedException e) {
538
+ future.cancel(true);
539
throw new UserCodeTimeoutException(e);
540
} catch (ExecutionException e) {
541
parseAndThrow(future, e);
0 commit comments