Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Auto Closed
-
None
-
None
-
None
Description
When Kerberos is enabled, the AuthenticationToken set on the Configuration object is essentially a pointer to the Hadoop-style Token stored (securely) in the Job's credentials object.
However, if by user error, the user thinks that they have serialized a Token (but it got lost along the way), unwrapAuthenticationToken will throw an NPE trying to extract that token. The name of the Token is abstracted away from the user (they shouldn't actually know what it is), so we should not fail hard like this.
It would be easy to return back the original token in this case and update the javadoc accordingly to warn users.
Attachments
Issue Links
- relates to
-
HIVE-16973 Fetching of Delegation tokens (Kerberos) for AccumuloStorageHandler fails in HS2
- Closed