Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11850

On Windows, creating udf function using wasb fail throwing java.lang.RuntimeException: invalid url: wasb:///... expecting ( file | hdfs | ivy) as url scheme.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.2.1
    • 1.2.1
    • UDF
    • None
    • Humboldt

    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

          Activity

            People

              Unassigned Unassigned
              taksaito Takahiko Saito
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: