Aihua Xu created HIVE-19328:
-------------------------------
Summary: Some error messages like "table not found" are printing
to STDERR
Key: HIVE-19328
URL: https://issues.apache.org/jira/browse/HIVE-19328
Project: Hive
Issue Type: Sub-task
Components: Logging
Affects Versions: 3.0.0
Reporter: Aihua Xu
In Driver class, we are printing the exceptions to the log file and to the
console through LogHelper.
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L730
I can see the following exceptions in the stderr.
FAILED: SemanticException [Error 10001]: Table not found default.sample_07
If it's from HiveCli, that makes sense to print to console, while if it's
beeline talking to HS2, then such log should go to HS2 log and beeline console.
So we should differentiate these two scenarios.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)