hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takahiko Saito (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11850) On Humboldt, creating udf function using wasb fail throwing java.lang.RuntimeException: invalid url: wasb:///... expecting ( file | hdfs | ivy) as url scheme.
Date Wed, 16 Sep 2015 20:05:45 GMT
Takahiko Saito created HIVE-11850:
-------------------------------------

             Summary: 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)

Mime
View raw message