You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2018/07/12 21:16:00 UTC

[jira] [Created] (HIVE-20156) Printing Stacktrace to STDERR

BELUGA BEHR created HIVE-20156:
----------------------------------

             Summary: Printing Stacktrace to STDERR
                 Key: HIVE-20156
                 URL: https://issues.apache.org/jira/browse/HIVE-20156
             Project: Hive
          Issue Type: Improvement
          Components: HiveServer2
    Affects Versions: 3.0.0, 4.0.0
            Reporter: BELUGA BEHR


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

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

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)