Return-Path: X-Original-To: apmail-storm-dev-archive@minotaur.apache.org Delivered-To: apmail-storm-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C26E211A64 for ; Tue, 1 Jul 2014 18:17:12 +0000 (UTC) Received: (qmail 76035 invoked by uid 500); 1 Jul 2014 18:17:12 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 75984 invoked by uid 500); 1 Jul 2014 18:17:12 -0000 Mailing-List: contact dev-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@storm.incubator.apache.org Delivered-To: mailing list dev@storm.incubator.apache.org Received: (qmail 75972 invoked by uid 99); 1 Jul 2014 18:17:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 18:17:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Jul 2014 18:17:10 +0000 Received: (qmail 75832 invoked by uid 99); 1 Jul 2014 18:16:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2014 18:16:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 97C70991D45; Tue, 1 Jul 2014 18:16:49 +0000 (UTC) From: revans2 To: dev@storm.incubator.apache.org Reply-To: dev@storm.incubator.apache.org References: In-Reply-To: Subject: [GitHub] incubator-storm pull request: STORM-87 fail fast on ShellBolt exce... Content-Type: text/plain Message-Id: <20140701181649.97C70991D45@tyr.zones.apache.org> Date: Tue, 1 Jul 2014 18:16:49 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org Github user revans2 commented on a diff in the pull request: https://github.com/apache/incubator-storm/pull/46#discussion_r14420063 --- Diff: storm-core/src/jvm/backtype/storm/task/ShellBolt.java --- @@ -241,5 +241,8 @@ private void handleEmit(Map action) throws InterruptedException { private void die(Throwable exception) { _exception = exception; + LOG.info("Halting process: ShellBolt died.", exception); + _collector.reportError(exception); + Runtime.getRuntime().halt(11); --- End diff -- Now that we have ways of cleanly handling System.exit, can we switch over to that instead of Runtime.halt? --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---