hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1653) Scripting UDF fails if the path to script is an absolute path
Date Tue, 28 Sep 2010 18:50:39 GMT
Scripting UDF fails if the path to script is an absolute path
-------------------------------------------------------------

                 Key: PIG-1653
                 URL: https://issues.apache.org/jira/browse/PIG-1653
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: Daniel Dai
             Fix For: 0.8.0


The following script fail:
{code}
register '/homes/jianyong/pig/aaa/scriptingudf.py' using jython as myfuncs;
a = load '/user/pig/tests/data/singlefile/studenttab10k' using PigStorage() as (name, age,
gpa:double);
b = foreach a generate myfuncs.square(gpa);
dump b;
{code}

If we change the register to use relative path (such as "aaa/scriptingudf.py"), it success.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message