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

Sean Busbey commented on HADOOP-12324:
--------------------------------------

In my experience, consistent log message formats are better than clever ones.

OTOH, we'll be changing the way log messages show up for access failures. 
Presumably we can just release note that?

> Better exception reporting in SaslPlainServer
> ---------------------------------------------
>
>                 Key: HADOOP-12324
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12324
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.8.0
>            Reporter: Mike Yoder
>            Assignee: Mike Yoder
>            Priority: Minor
>         Attachments: HADOOP-12324.000.patch
>
>
> This is a follow up from HADOOP-12318.  The review comment from 
> [~ste...@apache.org]:
> {quote}
> -1. It's critical to use Exception.toString() and not .getMessage(), as some 
> exceptions (NPE) don't have messages.
> {quote}
> This is the promised follow-up Jira.
> CC: [~atm]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to