sanha closed pull request #41: [Nemo 108] SonarCloud Bugs and Vulnerabilities for Nemo Runtime Master URL: https://github.com/apache/incubator-nemo/pull/41
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/runtime/master/src/main/java/edu/snu/nemo/runtime/master/BlockManagerMaster.java b/runtime/master/src/main/java/edu/snu/nemo/runtime/master/BlockManagerMaster.java index 1bafdc3e..7b684a30 100644 --- a/runtime/master/src/main/java/edu/snu/nemo/runtime/master/BlockManagerMaster.java +++ b/runtime/master/src/main/java/edu/snu/nemo/runtime/master/BlockManagerMaster.java @@ -252,6 +252,7 @@ public void onProducerTaskFailed(final String failedTaskId) { } catch (final InterruptedException | ExecutionException e) { // Cannot reach here because we check the completion of the future already. LOG.error("Exception while getting the location of a block!", e); + Thread.currentThread().interrupt(); } } }); ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services