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 [EMAIL PROTECTED]
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.