Github user abhishekagarwal87 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1543#discussion_r69857393
  
    --- Diff: storm-core/src/jvm/org/apache/storm/task/ShellBolt.java ---
    @@ -158,8 +158,8 @@ public void execute(Tuple input) {
     
                 _pendingWrites.putBoltMsg(boltMsg);
             } catch(InterruptedException e) {
    -            String processInfo = _process.getProcessInfoString() + 
_process.getProcessTerminationInfoString();
    -            throw new RuntimeException("Error during multilang processing 
" + processInfo, e);
    +            // It's likely that Bolt is shutting down so no need to throw 
RuntimeException
    --- End diff --
    
    It will be good to have a jvm wide flag to indicate whether jvm shutdown is 
in progress. There is also a java hack for the same. I can add that flag in a 
separate PR. Do you mind holding onto this PR till I come up with that? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to