Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6226

Replace logging calls that use StringUtils.stringifyException to pass the exception instance to the log call.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.0, 3.0.0-alpha1
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: