[
https://issues.apache.org/jira/browse/HIVE-14669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809882#comment-16809882
]
Laszlo Bodor commented on HIVE-14669:
-------------------------------------
[~sseth]: I think it's still an issue, a proper solution would help a lot all
the developers
currently what I'm seeing is: only an error code and the source query is
dropped to the console ( !01_mvn_out.png! ), but hive.log contains the full
trace ( !02_hive_log.png! ), I think, displaying the latter on the console
output would be great, what's your opinion?
> 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
> Assignee: Laszlo Bodor
> Priority: Major
> Attachments: 01_mvn_out.png, 02_hive_log.png
>
>
> 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
(v7.6.3#76005)