Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35AC718181 for ; Tue, 22 Sep 2015 20:42:05 +0000 (UTC) Received: (qmail 51638 invoked by uid 500); 22 Sep 2015 20:42:05 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 51479 invoked by uid 500); 22 Sep 2015 20:42:05 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 51407 invoked by uid 99); 22 Sep 2015 20:42:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2015 20:42:04 +0000 Date: Tue, 22 Sep 2015 20:42:04 +0000 (UTC) From: "Jason Dere (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-11920) ADD JAR failing with URL schemes other than file/ivy/hdfs 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-11920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Dere updated HIVE-11920: ------------------------------ Attachment: HIVE-11920.1.patch Attaching fix plus qfile test. The qfile test passes on branch-0.14 code, so this is a regression. > ADD JAR failing with URL schemes other than file/ivy/hdfs > --------------------------------------------------------- > > Key: HIVE-11920 > URL: https://issues.apache.org/jira/browse/HIVE-11920 > Project: Hive > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-11920.1.patch > > > Example stack trace below. It looks like this was introduced by HIVE-9664. > {noformat} > 015-09-16 19:53:16,502 ERROR [main]: SessionState (SessionState.java:printError(960)) - invalid url: wasb:///tmp/hive-udfs-0.1.jar, expecting ( file | hdfs | ivy) as url scheme. > java.lang.RuntimeException: invalid url: wasb:///tmp/hive-udfs-0.1.jar, expecting ( file | hdfs | ivy) as url scheme. > at org.apache.hadoop.hive.ql.session.SessionState.getURLType(SessionState.java:1230) > at org.apache.hadoop.hive.ql.session.SessionState.resolveAndDownload(SessionState.java:1237) > at org.apache.hadoop.hive.ql.session.SessionState.add_resources(SessionState.java:1163) > at org.apache.hadoop.hive.ql.session.SessionState.add_resources(SessionState.java:1149) > at org.apache.hadoop.hive.ql.exec.FunctionTask.addFunctionResources(FunctionTask.java:301) > at org.apache.hadoop.hive.ql.exec.Registry.registerToSessionRegistry(Registry.java:453) > at org.apache.hadoop.hive.ql.exec.Registry.registerPermanentFunction(Registry.java:200) > at org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerPermanentFunction(FunctionRegistry.java:1495) > at org.apache.hadoop.hive.ql.exec.FunctionTask.createPermanentFunction(FunctionTask.java:136) > at org.apache.hadoop.hive.ql.exec.FunctionTask.execute(FunctionTask.java:75) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160) > at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:89) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1655) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1414) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049) > at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213) > at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165) > at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376) > at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)