Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25927

Fix the log messages by not stringifying the exceptions in log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.5.0, 2.4.4
    • 3.0.0-alpha-1, 2.5.0, 2.4.4
    • logging
    • None

    Description

      There are few places where we stringify the exceptions and log, instead we should just pass them as a parameter to see the stack trace in good format. 

      For example: https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java#L175

      Attachments

        Issue Links

          Activity

            People

              sandeep.pal Sandeep Pal
              sandeep.pal Sandeep Pal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: