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

Stop using StringUtils.stringifyException()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      The old version of the logging APIs didn't support logging stack traces by passing exceptions to the logging methods (e.g. Log.error()). A number of log statements make use of StringUtils.stringifyException() to get around the old behavior. It would be nice if this could get cleaned up to make use of the the logger's stack trace printing. This also gives users more control since you can configure how the stack traces are written to the logs.

      Attachments

        1. HDFS-1977-1.patch
          21 kB
          Bharath Mundlapudi
        2. HDFS-1977-2.patch
          20 kB
          Bharath Mundlapudi
        3. HDFS-1977-3.patch
          21 kB
          Bharath Mundlapudi
        4. HDFS-1977-4.patch
          23 kB
          Bharath Mundlapudi

        Issue Links

          Activity

            People

              bharathm Bharath Mundlapudi
              fwiffo Joey Echeverria
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: