[ 
https://issues.apache.org/jira/browse/HIVE-14669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Haindrich updated HIVE-14669:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

pushed to master. Thank you [~abstractdog]!

> 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
>             Fix For: 4.0.0
>
>         Attachments: 01_mvn_out.png, 02_hive_log.png, HIVE-14469.01.patch, 
> HIVE-14469.02.patch, HIVE-14469.03.patch, Screen Shot 2019-04-11 at 4.54.41 
> PM.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)

Reply via email to