Siddharth Seth created HIVE-14669:
-------------------------------------
Summary: Have the actual error reported when a q test fails
instead of having to go through the logs
Key: HIVE-14669
URL: https://issues.apache.org/jira/browse/HIVE-14669
Project: Hive
Issue Type: Sub-task
Reporter: Siddharth Seth
QTest runs end up invoking CliDriver.processLine. This, in most cases, reports
a numeric exit code - 0 for success. Non-zero for various different error types
(which are defined everywhere in the code).
Internally CliDriver does have more information via CommandResult. A lot of
this is not exposed though. That's alright for the end user cli - (Command line
tool translating the error to a code and message). However, it makes debugging
very difficult for QTests - since the log needs to be looked at each time.
Errors generated by the actual backend execution are mostly available to the
client, and information about these should show up as well. (If it doesn't - we
have a usability issues to fix).
cc [~ekoifman]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)