You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2015/09/22 22:51:04 UTC

[jira] [Resolved] (HIVE-11850) On Humboldt, creating udf function using wasb fail throwing java.lang.RuntimeException: invalid url: wasb:///... expecting ( file | hdfs | ivy) as url scheme.

     [ https://issues.apache.org/jira/browse/HIVE-11850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Dere resolved HIVE-11850.
-------------------------------
    Resolution: Duplicate

> On Humboldt, creating udf function using wasb fail throwing java.lang.RuntimeException: invalid url: wasb:///...  expecting ( file | hdfs | ivy)  as url scheme.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11850
>                 URL: https://issues.apache.org/jira/browse/HIVE-11850
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>    Affects Versions: 1.2.1
>         Environment: Humboldt
>            Reporter: Takahiko Saito
>             Fix For: 1.2.1
>
>
> {noformat}
> hive> drop function if exists gencounter;
> OK
> Time taken: 2.614 seconds
> On Humboldt, creating UDF function fail as follows:
> hive> create function gencounter as 'org.apache.hive.udf.generic.GenericUDFGenCounter' using jar 'wasb:///tmp/hive-udfs-0.1.jar';
> invalid url: wasb:///tmp/hive-udfs-0.1.jar, expecting ( file | hdfs | ivy)  as url scheme.
> Failed to register default.gencounter using class org.apache.hive.udf.generic.GenericUDFGenCounter
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask
> {noformat}
> The jar exists in wasb dir:
> {noformat}
> hrt_qa@headnode0:~$ hadoop fs -ls wasb:///tmp/
> Found 2 items
> -rw-r--r--   1 hrt_qa supergroup       4472 2015-09-16 11:50 wasb:///tmp/hive-udfs-0.1.jar
> drwxrwxrwx   - hdfs   supergroup          0 2015-09-16 12:00 wasb:///tmp/阿䶵aa阿䶵
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)