[
https://issues.apache.org/jira/browse/HADOOP-10002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J updated HADOOP-10002:
-----------------------------
Affects Version/s: (was: 2.0.6-alpha)
2.0.0-alpha
> 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.0-alpha
> Reporter: Harsh J
> Priority: Minor
> Fix For: 2.0.3-alpha
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)