Grokbase Groups Hive user May 2010
FAQ
Hi,

I am traying to create a UDF as describe in this tutorial :

http://wiki.apache.org/hadoop/Hive/HivePlugins


But when I use this command :

create temporary function my_lower as 'com.example.hive.udf.Lower';

I see this error :


FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.FunctionTask

Thanks,

Search Discussions

  • Ashish Thusoo at May 17, 2010 at 6:49 pm
    Can you send the contents of /tmp/<username>/hive.log file? That should show a stack dump for this error.

    Ashish

    ________________________________
    From: Edmar Ferreira
    Sent: Monday, May 17, 2010 11:37 AM
    To: hive-user@hadoop.apache.org
    Subject: Error when creating custom UDFs

    Hi,

    I am traying to create a UDF as describe in this tutorial :

    http://wiki.apache.org/hadoop/Hive/HivePlugins


    But when I use this command :


    create temporary function my_lower as 'com.example.hive.udf.Lower';

    I see this error :


    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask

    Thanks,
  • Edmar Ferreira at May 17, 2010 at 8:04 pm
    Seems that every time I execute :

    create temporary function my_lower as 'com.example.hive.udf.Lower';

    One lime with this error is added to the log file, my last lines are :

    2010-05-17 14:55:28,500 ERROR ql.Driver (SessionState.java:printError(279))
    - FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask
    2010-05-17 15:07:42,128 ERROR ql.Driver (SessionState.java:printError(279))
    - FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask
    2010-05-17 15:17:55,815 ERROR ql.Driver (SessionState.java:printError(279))
    - FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask

    On Mon, May 17, 2010 at 3:48 PM, Ashish Thusoo wrote:

    Can you send the contents of /tmp/<username>/hive.log file? That should
    show a stack dump for this error.

    Ashish

    ------------------------------
    *From:* Edmar Ferreira
    *Sent:* Monday, May 17, 2010 11:37 AM
    *To:* hive-user@hadoop.apache.org
    *Subject:* Error when creating custom UDFs

    Hi,

    I am traying to create a UDF as describe in this tutorial :

    http://wiki.apache.org/hadoop/Hive/HivePlugins


    But when I use this command :

    create temporary function my_lower as 'com.example.hive.udf.Lower';

    I see this error :


    FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask

    Thanks,
  • Dilip Joseph at May 17, 2010 at 10:37 pm
    Did you add the jar containing the class com.example.hive.udf.Lower using
    "ADD JAR"? This error definitely occurs when the appropriate jar is not on
    the path, and when there is a typo in class name. There are probably other
    causes as well.

    Dilip
    On Mon, May 17, 2010 at 1:03 PM, Edmar Ferreira wrote:

    Seems that every time I execute :

    create temporary function my_lower as 'com.example.hive.udf.Lower';

    One lime with this error is added to the log file, my last lines are :

    2010-05-17 14:55:28,500 ERROR ql.Driver (SessionState.java:printError(279))
    - FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask
    2010-05-17 15:07:42,128 ERROR ql.Driver (SessionState.java:printError(279))
    - FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask
    2010-05-17 15:17:55,815 ERROR ql.Driver (SessionState.java:printError(279))
    - FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask

    On Mon, May 17, 2010 at 3:48 PM, Ashish Thusoo wrote:

    Can you send the contents of /tmp/<username>/hive.log file? That should
    show a stack dump for this error.

    Ashish

    ------------------------------
    *From:* Edmar Ferreira
    *Sent:* Monday, May 17, 2010 11:37 AM
    *To:* hive-user@hadoop.apache.org
    *Subject:* Error when creating custom UDFs

    Hi,

    I am traying to create a UDF as describe in this tutorial :

    http://wiki.apache.org/hadoop/Hive/HivePlugins


    But when I use this command :

    create temporary function my_lower as 'com.example.hive.udf.Lower';

    I see this error :


    FAILED: Execution Error, return code 1 from
    org.apache.hadoop.hive.ql.exec.FunctionTask

    Thanks,

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categorieshive, hadoop
postedMay 17, '10 at 6:37p
activeMay 17, '10 at 10:37p
posts4
users3
websitehive.apache.org

People

Translate

site design / logo © 2021 Grokbase