hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3259) Configuration.substituteVars() needs to handle security exceptions
Date Thu, 22 May 2008 16:51:56 GMT

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

Owen O'Malley updated HADOOP-3259:
----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Edward!

> 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