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

Printing Stacktrace to STDERR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0, 4.0.0
    • 4.0.0-alpha-1
    • HiveServer2

    Description

      Class org.apache.hadoop.hive.ql.exec.JoinOperator has the following code:

          } catch (Exception e) {
            e.printStackTrace();
            throw new HiveException(e);
          }
      

      Do not print the stack trace to STDERR with a call to printStackTrace(). Please remove that line and let the code catching the HiveException worry about printing any messages through a logger.

      Attachments

        1. HIVE-20156.1.patch
          0.8 kB
          Andrew Sherman

        Activity

          People

            asherman Andrew Sherman
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: