Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 05F8A106B8 for ; Fri, 19 Jul 2013 23:00:52 +0000 (UTC) Received: (qmail 97919 invoked by uid 500); 19 Jul 2013 23:00:51 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 97860 invoked by uid 500); 19 Jul 2013 23:00:51 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 97824 invoked by uid 500); 19 Jul 2013 23:00:50 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 97807 invoked by uid 99); 19 Jul 2013 23:00:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jul 2013 23:00:50 +0000 Date: Fri, 19 Jul 2013 23:00:50 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-4899) Hive returns non-meanful error message for ill-formed fs.default.name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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