[ 
https://issues.apache.org/jira/browse/HIVE-20157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated HIVE-20157:
-------------------------------
    Summary: Do Not Print StackTraces to STDERR in ParseDriver  (was: Do Not 
Print StackTraces to STDERR)

> Do Not Print StackTraces to STDERR in ParseDriver
> -------------------------------------------------
>
>                 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
>            Priority: Minor
>              Labels: newbie, noob
>
> {{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)

Reply via email to