Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22484

Remove Calls to printStackTrace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 4.0.0-alpha-1
    • None
    • None

    Description

      In many cases, the call to printStackTrace bypasses the logging framework, in other cases, the error stack trace is printed and the exception is re-thrown (log-and-throw is a bad pattern), and then there are some other edge cases.

      Remove this call and replace with calls to the logging framework or remove altogether if exception is wrapped and re-thrown.

      Attachments

        Issue Links

          Activity

            People

              belugabehr David Mollitor
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: