Hadoop Common
  1. Hadoop Common
  2. HADOOP-10571

Use Log.*(Object, Throwable) overload to log exceptions

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When logging an exception, we often convert the exception to string or call .getMessage. Instead we can use the log method overloads which take Throwable as a parameter.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Arpit Agarwal
            Reporter:
            Arpit Agarwal
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:

              Development