[ 
https://issues.apache.org/jira/browse/HADOOP-15717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603110#comment-16603110
 ] 

Szilard Nemeth commented on HADOOP-15717:
-----------------------------------------

Hi [~gabor.bota]!
The reason for logging the exception is that it helps troubleshooting what 
caused the {{IOException}}, as it can come from two different calls from the 
try-catch.
I came across a case where {{ tgt.getEndTime()}} was returned null and it 
resulted in an {{NPE}}.
I see that you handled this with HADOOP-15593, but apart from logging the fact 
that the ticket's endDate was null, we have not logged the exception at all.
Hope this is clear.

> TGT renewal thread does not log IOException
> -------------------------------------------
>
>                 Key: HADOOP-15717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15717
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: HADOOP-15717.001.patch
>
>
> See here: 
> https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java#L918



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to