Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4B929ADB for ; Tue, 21 Feb 2012 14:48:59 +0000 (UTC) Received: (qmail 40386 invoked by uid 500); 21 Feb 2012 14:48:59 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 40188 invoked by uid 500); 21 Feb 2012 14:48:59 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 40177 invoked by uid 99); 21 Feb 2012 14:48:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 14:48:59 +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.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 14:48:55 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A624A33248E for ; Tue, 21 Feb 2012 14:48:34 +0000 (UTC) Date: Tue, 21 Feb 2012 14:48:34 +0000 (UTC) From: "Suresh Srinivas (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1874813842.5975.1329835714682.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1870553600.5535.1329827014525.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-8096) add single point where System.exit() is called for better handling in containers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212626#comment-13212626 ] Suresh Srinivas commented on HADOOP-8096: ----------------------------------------- +1 for the idea. I think you meant int to be String. Will review this when a patch is available. > add single point where System.exit() is called for better handling in containers > -------------------------------------------------------------------------------- > > Key: HADOOP-8096 > URL: https://issues.apache.org/jira/browse/HADOOP-8096 > Project: Hadoop Common > Issue Type: New Feature > Components: util > Affects Versions: 0.24.0 > Reporter: Steve Loughran > Priority: Trivial > Fix For: 0.24.0 > > > with plans for OSGI integration afoot in HADOOP-7977, Hadoop needs unified place where System.exit() calls. When one runs any bit of Hadoop in a containers the container will block those exits with a security manager and convert the calls into security exceptions. A single exit method would enable such exceptions to be logged, and conceivably handled slightly more gracefully (e.g. tell the daemon to die). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira