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 22:10:00 UTC
[jira] [Created] (HIVE-20157) Do Not Print StackTraces to STDERR
BELUGA BEHR created HIVE-20157:
----------------------------------
Summary: Do Not Print StackTraces to STDERR
Key: HIVE-20157
URL: https://issues.apache.org/jira/browse/HIVE-20157
Project: Hive
Issue Type: Improvement
Components: Parser
Affects Versions: 3.0.0, 4.0.0
Reporter: BELUGA BEHR
{{org/apache/hadoop/hive/ql/parse/ParseDriver.java}}
{code}
catch (RecognitionException e) {
e.printStackTrace();
throw new ParseException(parser.errors);
}
{code}
Do not use {{e.printStackTrace()}} and print to STDERR. Either remove or replace with a debug-level log statement. I would vote to simply remove. There are several occurrences of this pattern in this class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)