Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7385

Remove StringUtils.stringifyException(ie) in logger functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • None
    • None
    • Reviewed

    Description

      Apache logger api has an overloaded function which can take the message and exception. I am proposing to clean the logging code with this api.
      ie.:
      Change the code from LOG.warn(msg, StringUtils.stringifyException(exception)); to LOG.warn(msg, exception);

      Attachments

        1. HADOOP-7385-1.patch
          12 kB
          Bharath Mundlapudi

        Activity

          People

            bharathm Bharath Mundlapudi
            bharathm Bharath Mundlapudi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: