hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Bodor (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-14669) Have the actual error reported when a q test fails instead of having to go through the logs
Date Thu, 04 Apr 2019 14:02:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809882#comment-16809882
] 

Laszlo Bodor edited comment on HIVE-14669 at 4/4/19 2:01 PM:
-------------------------------------------------------------

[~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?


was (Author: abstractdog):
[~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)

Mime
View raw message