hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3259) Configuration.substituteVars() needs to handle security exceptions
Date Tue, 15 Apr 2008 16:55:12 GMT
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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message