hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10002) Tool's config option wouldn't work on secure clusters
Date Fri, 27 Sep 2013 14:00:02 GMT
Harsh J created HADOOP-10002:
--------------------------------

             Summary: Tool's config option wouldn't work on secure clusters
                 Key: HADOOP-10002
                 URL: https://issues.apache.org/jira/browse/HADOOP-10002
             Project: Hadoop Common
          Issue Type: Bug
          Components: security, util
    Affects Versions: 2.0.6-alpha
            Reporter: Harsh J
            Priority: Minor


The Tool framework provides a way for clients to run without classpath *-site.xml configs,
by letting users pass "-conf <file>" to parse into the app's Configuration object.

In a secure cluster config setup, such a runner will not work cause of UserGroupInformation.isSecurityEnabled()
check, which is used in Server.java to determine what form of communication to use, will load
statically a {{new Configuration()}} object to inspect if security is turned on during its
initialization, which ignores the application config object and tries to load from classpath
and ends up loading non-secure defaults.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message