hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3259) Configuration.substituteVars() needs to handle security exceptions
Date Wed, 07 May 2008 05:29:56 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HADOOP-3259:
-----------------------------------

    Fix Version/s: 0.18.0
           Status: Patch Available  (was: Open)

submitting.

> 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
>             Fix For: 0.18.0
>
>         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.


Mime
View raw message