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

Reply via email to