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

Remove StringUtils.stringifyException(ie) in logger functions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: