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

Printing Stacktrace to STDERR

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 4.0.0
    • Fix Version/s: 4.0.0
    • Component/s: HiveServer2
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: