Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 6247 invoked from network); 15 Apr 2008 16:58:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 16:58:20 -0000 Received: (qmail 63202 invoked by uid 500); 15 Apr 2008 16:58:19 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 63161 invoked by uid 500); 15 Apr 2008 16:58:18 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 63125 invoked by uid 99); 15 Apr 2008 16:58:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 09:58:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 16:57:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 47670234C0D1 for ; Tue, 15 Apr 2008 09:55:12 -0700 (PDT) Message-ID: <505853943.1208278512277.JavaMail.jira@brutus> Date: Tue, 15 Apr 2008 09:55:12 -0700 (PDT) From: "Steve Loughran (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-3259) Configuration.substituteVars() needs to handle security exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Configuration.substituteVars() needs to handle security exceptions ------------------------------------------------------------------ Key: HADOOP-3259 URL: https://issues.apache.org/jira/browse/HADOOP-3259 Project: Hadoop Core Issue Type: Bug Components: conf Affects Versions: 0.16.2 Reporter: Steve Loughran Priority: Trivial Inside Configuration.substituteVars(), there is a call to System.getProperty(var); this contains the implicit assumption that the JVM will never block access to a system property, because if that is the case -such as when the Configuration is running under a restrictive security manager, a SecurityException gets thrown. This will get thrown all the way up the tree. Better to have some plan to handle it in situ, such as a log@warn level then leave the property unexpanded. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.