[
https://issues.apache.org/jira/browse/HIVE-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714195#comment-13714195
]
Xuefu Zhang commented on HIVE-4899:
-----------------------------------
This happens with JDK6. In JDK7, the following is returned:
{code}
FAILED: IllegalArgumentException Illegal character in scheme name at index 0:
'http://www.example.com
{code}
However, the tests (fs_default_name1/2.q) fail because of the diff.
> Hive returns non-meanful error message for ill-formed fs.default.name
> ---------------------------------------------------------------------
>
> Key: HIVE-4899
> URL: https://issues.apache.org/jira/browse/HIVE-4899
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 0.10.0, 0.11.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Priority: Minor
>
> For query in test case fs_default_name1.q:
> {code}
> set fs.default.name='http://www.example.com;
> 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: http://www.atlassian.com/software/jira