nemo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject [incubator-nemo] branch master updated: [Nemo 108] SonarCloud Bugs and Vulnerabilities for Nemo Runtime Master (#41)
Date Fri, 15 Jun 2018 06:48:04 GMT
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 <egjung49@gmail.com>
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
sanha@apache.org.

Mime
View raw message