You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2014/04/10 01:02:18 UTC

[jira] [Created] (HDFS-6226) Replace logging calls that use StringUtils.stringifyException to pass the exception instance to the log call.

Chris Nauroth created HDFS-6226:
-----------------------------------

             Summary: Replace logging calls that use StringUtils.stringifyException to pass the exception instance to the log call.
                 Key: HDFS-6226
                 URL: https://issues.apache.org/jira/browse/HDFS-6226
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.0.0, 2.4.0
            Reporter: Chris Nauroth


There are multiple places in the code that call {{StringUtils#stringifyException}} to capture the stack trace in a string and pass the result to a logging call.  The resulting information is identical to passing the exception instance directly to the logger, i.e. {{LOG.error("fail", e)}}, so we can simplify the code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)