This is an automated email from the ASF dual-hosted git repository.

sanha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nemo.git


The following commit(s) were added to refs/heads/master by this push:
     new f912822  [Nemo 108] SonarCloud Bugs and Vulnerabilities for Nemo 
Runtime Master (#41)
f912822 is described below

commit f912822016240ad0a930c3f7cdd9efbad746c499
Author: Eunji Jeong <[email protected]>
AuthorDate: Fri Jun 15 15:47:55 2018 +0900

    [Nemo 108] SonarCloud Bugs and Vulnerabilities for Nemo Runtime Master (#41)
    
    JIRA: [NEMO-108: SonarCloud Bugs and Vulnerabilities for Nemo Runtime 
Master](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-108)
    
    **Major changes:**
    - Handle `InterruptedException` properly
    
    resolves 
[NEMO-108](https://issues.apache.org/jira/projects/NEMO/issues/NEMO-108)
---
 .../src/main/java/edu/snu/nemo/runtime/master/BlockManagerMaster.java    | 1 +
 1 file changed, 1 insertion(+)

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 1bafdc3..7b684a3 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 final class BlockManagerMaster {
           } 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();
           }
         }
       });

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to