Mark Grover created HIVE-9818:
---------------------------------
Summary: Print error messages on stderr instead of stdout
Key: HIVE-9818
URL: https://issues.apache.org/jira/browse/HIVE-9818
Project: Hive
Issue Type: Bug
Components: HCatalog
Affects Versions: 1.0.0
Reporter: Mark Grover
hcat script (see
[here|https://github.com/apache/hive/blob/trunk/hcatalog/bin/hcat#L103], for
example) prints error messages via echo which go on stdout the way they are
written. This is bad because downstream projects using it receive error
messages as expected output instead of actually receiving nothing (see
SQOOP-2147 as example).
We need to put error messages on stdout. Something like:
{code}
>&2 echo "This is an error message"
{code}
instead of a simple echo that we have been using so far.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)