Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
Description
TestSecurityUtil#testLocalHostNameForNullOrWild contains assertions about the principal returned for a null or wildcard hostname. The logic in SecurityUtil#getServerPrincipal converts the local hostname to lower-case. The test method does not perform the same conversion though, so the test passes on systems with a hostname containing no upper-case letters, but it fails if the hostname does contain upper-case letters.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-8514 Failed tests: testLocalHostNameForNullOrWild
- Resolved
- relates to
-
HADOOP-8562 Enhancements to support Hadoop on Windows Server and Windows Azure environments
- Closed