Description
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
The jar exists in wasb dir:
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阿䶵
Attachments
Issue Links
- is duplicated by
-
HIVE-11920 ADD JAR failing with URL schemes other than file/ivy/hdfs
- Closed