hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10559) add a method to UserGroupInformation to load settings from a given conf file
Date Thu, 01 May 2014 16:40:15 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986747#comment-13986747

Steve Loughran commented on HADOOP-10559:

correction {{addDefaultResource()}} is the way to force in a new conf file on the classpath
-but only before the first security init, and only if the settings are on the classpath

> add a method to UserGroupInformation to load settings from a given conf file
> ----------------------------------------------------------------------------
>                 Key: HADOOP-10559
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10559
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
> There's no easy way to set up the security parameters of a process unless it's set in
core-site.xml, because it's just inited via: 
> {{initialize(new Configuration(), false);}}
> # If it is defined in an XML resource injected in to the config resource list via {{Configuration.addResource()}}
-then it *may* get picked up, but only if nothing has already created the configs.
> # If it is defined in any other means -you can't get it in.
> This is an issue with client apps that don't have core-site XML files on their classpath,
and which are loading their configs more dynamically. Everything works on an insecure cluster,
but try to target a secure one and things break.

This message was sent by Atlassian JIRA

View raw message