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

ProtobufRpcEngine.invoke() should use Exception.toString() over getMessage in logging/span events

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • ipc
    • None

    Description

      in ProtobufRpcEngine.invoke(), caught throwables have their getMessage()} included in the timeline events for the span. For some events (eg NPE) this will be null. it should be calling {{toString() instead

      Attachments

        1. HADOOP-12051.01.patch
          0.8 kB
          Varun Saxena

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            varun_saxena Varun Saxena
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment