jojochuang commented on issue #1681: HADOOP-16672 : adding null check for 
ticket.doAs() while setting up I…
URL: https://github.com/apache/hadoop/pull/1681#issuecomment-548942409
 
 
   Do you know when the ticket is null? Can you post a stack trace so that it's 
easier to tell why. 
   Looking at a few callers, the ticket is usually obtained via 
UGI#getCurrentUser() which never returns null.
   
   To me the client should raise and exception and abort if the ticket is null 
when SASL is on. In any case the connection will fail (because of lack of SASL 
negotiation) so why not fail early.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to