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)

Reply via email to