Harsh J created HADOOP-13056: -------------------------------- Summary: Print expected values when rejecting a server's determined principal Key: HADOOP-13056 URL: https://issues.apache.org/jira/browse/HADOOP-13056 Project: Hadoop Common Issue Type: Bug Components: security Affects Versions: 2.5.0 Reporter: Harsh J Assignee: Harsh J Priority: Trivial
When an address-constructed service principal by a client does not match a provided pattern or the configured principal property, the error is very uninformative on what the specific cause is. Currently the only error printed is, in both cases: {code} java.lang.IllegalArgumentException: Server has invalid Kerberos principal: hdfs/host.internal@REALM {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)