storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kabh...@apache.org
Subject [1/3] storm git commit: STORM-2396: setting interrupted status back up before rethrowing a RuntimeException.
Date Thu, 09 Mar 2017 04:54:21 GMT
Repository: storm
Updated Branches:
  refs/heads/1.0.x-branch 2bc751af3 -> 7336b4fef


STORM-2396: setting interrupted status back up before rethrowing a RuntimeException.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/035c6d17
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/035c6d17
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/035c6d17

Branch: refs/heads/1.0.x-branch
Commit: 035c6d17ecb1f1080e364243a76a87937eeaa9f1
Parents: 2bc751a
Author: ikashperskyi <zeiss131@gmail.com>
Authored: Sat Mar 4 15:10:27 2017 +0100
Committer: Jungtaek Lim <kabhwan@gmail.com>
Committed: Thu Mar 9 13:53:38 2017 +0900

----------------------------------------------------------------------
 storm-core/src/jvm/org/apache/storm/utils/Utils.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/035c6d17/storm-core/src/jvm/org/apache/storm/utils/Utils.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/org/apache/storm/utils/Utils.java b/storm-core/src/jvm/org/apache/storm/utils/Utils.java
index 661c12c..6100fdb 100644
--- a/storm-core/src/jvm/org/apache/storm/utils/Utils.java
+++ b/storm-core/src/jvm/org/apache/storm/utils/Utils.java
@@ -335,6 +335,7 @@ public class Utils {
         try {
             Time.sleep(millis);
         } catch(InterruptedException e) {
+            Thread.currentThread().interrupt();
             throw new RuntimeException(e);
         }
     }


Mime
View raw message