You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2008/05/07 07:25:55 UTC
[jira] Updated: (HADOOP-3259) Configuration.substituteVars() needs
to handle security exceptions
[ https://issues.apache.org/jira/browse/HADOOP-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward J. Yoon updated HADOOP-3259:
-----------------------------------
Attachment: 3259.patch
> 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
> Assignee: Edward J. Yoon
> Priority: Trivial
> Attachments: 3259.patch
>
>
> 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.