hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <>
Subject [jira] [Updated] (HIVE-4899) Hive returns non-meanful error message for ill-formed
Date Sat, 20 Jul 2013 00:00:48 GMT


Xuefu Zhang updated HIVE-4899:

    Attachment: HIVE-4899.patch

Problem found to be that getMessage() returns null from IllegalArgumentException instance,
which is fixed in JDK7. The attached fix provides a workaround that gets the error msg from
the underlying URISytntaxException. 

While the patch isn't elegant, it fixes the problem. The workaround is also needed to allow
the two test cases to pass with both JDK6 and JDK7.
> Hive returns non-meanful error message for ill-formed
> ---------------------------------------------------------------------
>                 Key: HIVE-4899
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>            Priority: Minor
>         Attachments: HIVE-4899.patch
> For query in test case fs_default_name1.q:
> {code}
> set';
> show tables;
> {code}
> The following error message is returned:
> {code}
> FAILED: IllegalArgumentException null
> {code}
> The message is not very meaningful, and has "null" in it.
> It would be better if we can provide detailed error message.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message