ChenSammi opened a new pull request, #8982: URL: https://github.com/apache/hadoop/pull/8982
### Description of PR https://issues.apache.org/jira/browse/HADOOP-15764 Resolved FQDN by dnsjava from short name has tailing "." The resolved FQDN by dnsjava from short name has tailing ".", which causes delegation authentication failure. That the delegation token acquired by spark AM is using the fqdn nn1.example.com, so the delegation service is "nn1.example.com:8020". And the hive table file location use simple name "nn1", so when the executor try to access HDFS, short name "nn1" is resolved to "nn1.example.com.:8020" by dnsjava, so it doesn't match the "nn1.example.com:8080" in the delegation token, then authentication fails. ### How was this patch tested? New unit tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
