Description
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.
Attachments
Issue Links
- duplicates
-
HADOOP-9021 Enforce configured SASL method on the server
- Closed